Skip to content

Commit

Permalink
Only enable debugger in Xephyr
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintRyoh committed Aug 9, 2023
1 parent c5bf407 commit 9cdf523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ in

shellHook = ''
BASE_DIRECTORY=$(pwd)
AWM_DEBUG=1
if [[ -f ./scripts/hook.sh ]]; then
source ./scripts/hook.sh
fi
Expand Down

0 comments on commit 9cdf523

Please sign in to comment.