bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness
# volume
+bindsym $mod+semicolon exec rofi-pamixer # rofi-based volume chooser
bindsym XF86AudioRaiseVolume exec pamixer --allow-boost --increase 5
bindsym XF86AudioLowerVolume exec pamixer --allow-boost --decrease 5
bindsym XF86AudioMute exec pamixer --toggle-mute
--- /dev/null
+#!/bin/sh
+cur=$(pamixer --get-volume)
+val=$(rofi -dmenu -mesg "pamixer --get-volume $cur" -p "pamixer --set-volume " -l 0 -width 12)
+[ -n "$val" ] && pamixer --set-volume "$val"