Skip to content

Commit

Permalink
Update i3blocks after volume change, add keybind refresh in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
filkaris committed Dec 3, 2023
1 parent 4ce5e39 commit a1f4fc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ update:
./setup/update
status:
./setup/status
xbindkeys-restart:
pkill xbindkeys && xbindkeys -f ~/.config/xbindkeys/config
6 changes: 3 additions & 3 deletions config/xbindkeys
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
Shift+XF86MonBrightnessDown

# Volume controls
"pactl set-sink-volume @DEFAULT_SINK@ +5%"
"pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+10 i3blocks"
XF86AudioRaiseVolume
"pactl set-sink-volume @DEFAULT_SINK@ -5%"
"pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+10 i3blocks"
XF86AudioLowerVolume
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
"pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 i3blocks"
XF86AudioMute
"amixer set Capture toggle"
XF86AudioMicMute
Expand Down

0 comments on commit a1f4fc4

Please sign in to comment.