xmonad: added monitor keys

This commit is contained in:
Serĉanto de Scio 2022-12-11 18:16:57 +10:00
parent 09d8dc288d
commit 8a5dae719a
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -172,6 +172,8 @@ browser = "brave"
discord = "discord" discord = "discord"
editor = "codium" editor = "codium"
element = "element-desktop" element = "element-desktop"
enableEDP1 = "xrandr --output eDP-1 --primary --auto --output HDMI-1 --off"
enableHDMI1 = "xrandr --output eDP-1 --off --output HDMI-1 --primary --mode 3840x2160"
incognitoBrowser = "brave -incognito" incognitoBrowser = "brave -incognito"
launcher = "rofi -show drun" launcher = "rofi -show drun"
logseq = "logseq" logseq = "logseq"
@ -193,6 +195,8 @@ myKeybinds =
("M-i", spawn incognitoBrowser), ("M-i", spawn incognitoBrowser),
("M-f", spawn screenshot), ("M-f", spawn screenshot),
("M-p", spawn launcher), ("M-p", spawn launcher),
("M-S-e", spawn enableEDP1),
("M-S-h", spawn enableHDMI1),
("M-S-<Return>", spawn Main.terminal), ("M-S-<Return>", spawn Main.terminal),
("M-<Backspace>", kill1), ("M-<Backspace>", kill1),
-- Layout control -- Layout control