aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 12:17:58 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 12:17:58 +0200
commit180accd0a4dde00a25c1766c6b962809998d2ad7 (patch)
tree6180e830b46bcd309c2813041614a4604275bd86 /AGENTS.md
parent405905dcd2308763114f8e479847f238243f2d6f (diff)
downloadquickshell-180accd0a4dde00a25c1766c6b962809998d2ad7.tar.gz
quickshell-180accd0a4dde00a25c1766c6b962809998d2ad7.zip
fix(desktop): keep statusctl quiet when the mode file is absent
read_mode() failed on a missing mode file with a shell redirection error, 'statusctl: line 56: .../status.dnd: No such file or directory', printed to stderr on every get/toggle before the file existed and polluting waybar's exec stderr. The '2>/dev/null' sat on the 'tr' command, but the error is the parent shell's input redirection failure, which that redirect cannot suppress. Guard on '[[ -e "$file" ]]' before reading; a missing file still reads as 0, which was always the contract. Mirror the fix into the plan so plan and script agree.
Diffstat (limited to 'AGENTS.md')
0 files changed, 0 insertions, 0 deletions