work(sway): Add shortcuts to toggle displays
This commit is contained in:
parent
e6f72d7f17
commit
adeffff841
2 changed files with 3 additions and 1 deletions
|
@ -263,7 +263,7 @@ in
|
|||
terminal = "${pkgs.foot}/bin/foot";
|
||||
|
||||
window = {
|
||||
border = "pixel";
|
||||
border = 1;
|
||||
titlebar = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue