From baed1d7ed9e8d7c09f2021f574e7338589368def Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 27 Nov 2024 09:16:18 +0100 Subject: [PATCH] work: Make sway screen enable/disable keybinds work when locked --- users/erwin/work.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/erwin/work.nix b/users/erwin/work.nix index 896a8bf..f0cab5e 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -165,8 +165,8 @@ in extraKeybindings = { "Ctrl+Alt+1" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-1"; "Ctrl+Alt+2" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-3"; - "Mod4+Ctrl+l" = "output DP-1 enable, output DP-3 enable, output HDMI-A-1 disable"; - "Mod4+Ctrl+r" = "output DP-1 disable, output DP-3 disable, output HDMI-A-1 enable"; + "Mod4+Ctrl+l" = "--locked output DP-1 enable, output DP-3 enable, output HDMI-A-1 disable"; + "Mod4+Ctrl+r" = "--locked output DP-1 disable, output DP-3 disable, output HDMI-A-1 enable"; }; }; swaynotificationcenter.enable = true;