sway: Add lockscreen hotkey

This commit is contained in:
fleaz 2022-09-13 11:17:43 +02:00
parent 0b817139d3
commit 92bfe8ad16
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -129,8 +129,13 @@ in
"XF86AudioPlay" = "exec ${playerctl} play-pause";
"XF86AudioPrev" = "exec ${playerctl} previous";
# Laptop Brightness controll
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +10%";
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%-";
# Lockscreen on laptop without macropad
"Control+Escape" = "exec ${lockCmd}";
};
};