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:
parent
0a625ad6a9
commit
f28c094051
2 changed files with 5 additions and 3 deletions
|
@ -37,7 +37,7 @@ in
|
||||||
"XF86AudioLowerVolume" = "${pactl} set-sink-mute @DEFAULT_SINK@ false; ${pactl} set-sink-volume @DEFAULT_SINK@ -5%";
|
"XF86AudioLowerVolume" = "${pactl} set-sink-mute @DEFAULT_SINK@ false; ${pactl} set-sink-volume @DEFAULT_SINK@ -5%";
|
||||||
"XF86AudioMute" = "${pactl} set-sink-mute @DEFAULT_SINK@ true";
|
"XF86AudioMute" = "${pactl} set-sink-mute @DEFAULT_SINK@ true";
|
||||||
"${mod}+F8" = "${pactl} suspend-sink @DEFAULT_SINK@ 1; ${pactl} suspend-sink @DEFAULT_SINK@ 0"; # Re-synchronize bluetooth headset
|
"${mod}+F8" = "${pactl} suspend-sink @DEFAULT_SINK@ 1; ${pactl} suspend-sink @DEFAULT_SINK@ 0"; # Re-synchronize bluetooth headset
|
||||||
"${mod}+F11" = "exec ${pkgs.pavucontrol}/bin/pwvucontrol";
|
"${mod}+F11" = "exec ${lib.getExe pkgs.pwvucontrol}";
|
||||||
# TODO Find pacmixer?
|
# TODO Find pacmixer?
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -80,8 +80,10 @@ in
|
||||||
stylix.targets.swaylock.enable = false;
|
stylix.targets.swaylock.enable = false;
|
||||||
wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault {
|
wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault {
|
||||||
# Turn screen off until activity
|
# Turn screen off until activity
|
||||||
"${mod}+F1" =
|
"--release ${mod}+F1" = "exec ${pkgs.writeShellScript "tempscreenoff" ''
|
||||||
''--release exec ${powerScreen "off"} && ${lib.getExe wayresume} -t0; ${powerScreen "on"}'';
|
${powerScreen "off"} && ${lib.getExe wayresume} -t0
|
||||||
|
${powerScreen "on"}
|
||||||
|
''}";
|
||||||
# Toggle to save on buttons
|
# Toggle to save on buttons
|
||||||
# TODO Bar indicator
|
# TODO Bar indicator
|
||||||
"${mod}+F5" = "exec --no-startup-id ${pkgs.writeShellScript "swayidle-toggle" ''
|
"${mod}+F5" = "exec --no-startup-id ${pkgs.writeShellScript "swayidle-toggle" ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue