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";
|
terminal = "${pkgs.foot}/bin/foot";
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
border = "pixel";
|
border = 1;
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -151,6 +151,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+r" = "output DP-1 disable, output DP-3 disable, output HDMI-A-1 enable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
swaynotificationcenter.enable = true;
|
swaynotificationcenter.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue