work(sway): Add shortcuts to toggle displays

This commit is contained in:
Erwin Boskma 2024-09-04 08:29:36 +02:00
parent e6f72d7f17
commit adeffff841
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
2 changed files with 3 additions and 1 deletions

View file

@ -263,7 +263,7 @@ in
terminal = "${pkgs.foot}/bin/foot";
window = {
border = "pixel";
border = 1;
titlebar = false;
};

View file

@ -151,6 +151,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";
};
};
swaynotificationcenter.enable = true;