Created
May 15, 2025 19:34
-
-
Save hajlaoui-nader/9be8ec7c671ba02786237baafddcdf6e to your computer and use it in GitHub Desktop.
i3wm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Volume controls | |
| bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -u low -i audio-volume-high 'Volume' 'Volume raised to $(pamixer --get-volume)%'" | |
| bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -u low -i audio-volume-low 'Volume' 'Volume lowered to $(pamixer --get-volume)%'" | |
| bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle && notify-send -u low -i audio-volume-muted 'Volume' 'Mute toggled'" | |
| # Brightness controls | |
| bindsym XF86MonBrightnessUp exec --no-startup-id "brightnessctl set +5% && notify-send -u low -i display-brightness 'Brightness' 'Brightness increased to $(brightnessctl get)'" | |
| bindsym XF86MonBrightnessDown exec --no-startup-id "brightnessctl set 5%- && notify-send -u low -i display-brightness 'Brightness' 'Brightness decreased to $(brightnessctl get)'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment