Skip to content

Instantly share code, notes, and snippets.

View zneix's full-sized avatar
❤️‍🩹
I'm rather inactive.

zneix

❤️‍🩹
I'm rather inactive.
View GitHub Profile
@zneix
zneix / user.lua
Last active July 25, 2023 13:28
zneix's DorHUD user.lua file
-- zneix's DorHUD configuration, available @ https://gist.github.com/zneix/fb99059520fe94cfcfaaefe8d02af6db or https://cdn.zneix.eu/pdthmods/user.lua
-- note to self, view diff compared to what's online with: gh gist view fb99059520fe94cfcfaaefe8d02af6db -f user.lua | git diff - user.lua
-- some things in here might require an additional mod of mine; get it here: https://github.com/zneix/zneixs_fixes
local is_first_load = ...
local always_reload = true -- if true, always use values defined in this file and thus ignoring any dynamic changes; default false
local prioritize_gui = false -- if true, config values defined in this file won't overwrite any existing settings set with the gui; default false
-- helper functions
-- escape left square bracket in s so that they aren't parsed as colours
local function clear_string(s)