diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-09 21:58:35 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-09 21:58:35 +0100 |
| commit | 7d149e3763138de600661bf0acc6aa9ec283f4d3 (patch) | |
| tree | 865b60361812ab1960272f4f03793f4a64edbecb /roles/hyprland/templates | |
| parent | 3dfe41fd6dd5a0daf71308200b525b01eb8dae5e (diff) | |
Add volume controlling script with OSD (using mako)
Diffstat (limited to 'roles/hyprland/templates')
| -rw-r--r-- | roles/hyprland/templates/bindings.conf.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/hyprland/templates/bindings.conf.j2 b/roles/hyprland/templates/bindings.conf.j2 index 7ace0c99..a7739be4 100644 --- a/roles/hyprland/templates/bindings.conf.j2 +++ b/roles/hyprland/templates/bindings.conf.j2 @@ -65,10 +65,10 @@ binde = SUPER CONTROL, k, resizeactive, 0 -20 binde = SUPER CONTROL, l, resizeactive, 20 0 # Laptop multimedia keys for volume and LCD brightness -bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 1%+ -bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- -bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle -bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86AudioRaiseVolume, exec, /etc/hypr/scripts/volume.sh --inc 1 +bindel = ,XF86AudioLowerVolume, exec, /etc/hypr/scripts/volume.sh --dec 1 +bindel = ,XF86AudioMute, exec, /etc/hypr/scripts/volume.sh --toggle-mute-vol +bindel = ,XF86AudioMicMute, exec, /etc/hypr/scripts/volume.sh --toggle-mute-mic bindel = ,XF86MonBrightnessUp, exec, /etc/hypr/scripts/brightness.sh --inc 5 bindel = ,XF86MonBrightnessDOWN, exec, /etc/hypr/scripts/brightness.sh --dec 5 |
