commit 88ca82e3721e2e3c8b313eddbf960ac6f7bce983
parent 9046800feedffd879c382d28543f47a3d70b7a1d
Author: Peter <peter@minskio.co.uk>
Date: Thu, 8 Oct 2026 09:55:15 +0100
Allow volume/mute keys on Right Ctrl+Alt
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/home/hyprland.nix b/home/hyprland.nix
@@ -99,6 +99,9 @@ in
hl.bind("CTRL + ALT + equal", hl.dsp.exec_cmd("wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })
hl.bind("CTRL + ALT + minus", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true })
hl.bind("CTRL + ALT + 0", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true, repeating = false })
+ hl.bind("MOD5 + CTRL + equal", hl.dsp.exec_cmd("wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })
+ hl.bind("MOD5 + CTRL + minus", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true })
+ hl.bind("MOD5 + CTRL + 0", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true, repeating = false })
-- Smart gaps
hl.workspace_rule({ workspace = "w[tv1]", gaps_out = 0, gaps_in = 0 })
hl.workspace_rule({ workspace = "f[1]", gaps_out = 0, gaps_in = 0 })