Fix some Mod4+FXX shortcuts

Though my main keyboard cannot do both at the same time,
I'll need to address that.
This commit is contained in:
Geoffrey Frogeye 2025-06-20 22:34:35 +02:00
parent 0a625ad6a9
commit f28c094051
2 changed files with 5 additions and 3 deletions

View file

@ -80,8 +80,10 @@ in
stylix.targets.swaylock.enable = false;
wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault {
# Turn screen off until activity
"${mod}+F1" =
''--release exec ${powerScreen "off"} && ${lib.getExe wayresume} -t0; ${powerScreen "on"}'';
"--release ${mod}+F1" = "exec ${pkgs.writeShellScript "tempscreenoff" ''
${powerScreen "off"} && ${lib.getExe wayresume} -t0
${powerScreen "on"}
''}";
# Toggle to save on buttons
# TODO Bar indicator
"${mod}+F5" = "exec --no-startup-id ${pkgs.writeShellScript "swayidle-toggle" ''