From 2d2dc4a8e40fcdcd774ed8e803c6b24ffe2bd4a8 Mon Sep 17 00:00:00 2001 From: rope Date: Fri, 21 Aug 2026 12:03:51 +0100 Subject: [PATCH] lock-before-sleep: --any-display, unit env has no WAYLAND_DISPLAY Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_0169F2pgebpibASvMLou1awP --- settings/hyprland.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 13f7510..133df50 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -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";