lock-before-sleep: --any-display, unit env has no WAYLAND_DISPLAY
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169F2pgebpibASvMLou1awP
This commit is contained in:
parent
466e4bcd74
commit
2d2dc4a8e4
1 changed files with 3 additions and 1 deletions
|
|
@ -87,7 +87,9 @@ in
|
|||
# the config (and thus the instance to talk to) via ~/.config —
|
||||
# without it: "Could not find "default" config directory".
|
||||
export HOME=/home/fred
|
||||
${pkgs.quickshell}/bin/qs ipc call lock lock
|
||||
# --any-display: no WAYLAND_DISPLAY here, and qs skips instances
|
||||
# on other displays without it.
|
||||
${pkgs.quickshell}/bin/qs ipc --any-display call lock lock
|
||||
${pkgs.coreutils}/bin/sleep 1
|
||||
'';
|
||||
TimeoutStartSec = "5s";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue