diff --git a/rc.lua b/rc.lua index 85bf5ddd..4d0ee7b0 100644 --- a/rc.lua +++ b/rc.lua @@ -3,7 +3,7 @@ require("error-handling") -- if AWM_DEBUG set in environment then require debug Debugger = nil -if os.getenv("AWM_DEBUG") == '1' or true then +if os.getenv("AWM_DEBUG") == '1' then Debugger = require("awm-debug") end diff --git a/shell.nix b/shell.nix index 79415408..269cd3c7 100644 --- a/shell.nix +++ b/shell.nix @@ -22,6 +22,7 @@ in shellHook = '' BASE_DIRECTORY=$(pwd) + AWM_DEBUG=1 if [[ -f ./scripts/hook.sh ]]; then source ./scripts/hook.sh fi