work: Make sway screen enable/disable keybinds work when locked

This commit is contained in:
Erwin Boskma 2024-11-27 09:16:18 +01:00
parent 6f141a1d8a
commit baed1d7ed9
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -165,8 +165,8 @@ in
extraKeybindings = { extraKeybindings = {
"Ctrl+Alt+1" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-1"; "Ctrl+Alt+1" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-1";
"Ctrl+Alt+2" = "exec ${pkgs.wayvnc}/bin/wayvncctl output-set DP-3"; "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+l" = "--locked 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+r" = "--locked output DP-1 disable, output DP-3 disable, output HDMI-A-1 enable";
}; };
}; };
swaynotificationcenter.enable = true; swaynotificationcenter.enable = true;