You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.5 KiB
40 lines
1.5 KiB
#------------------------------------------------ |
|
# |
|
# media player bindings |
|
# |
|
#------------------------------------------------ |
|
|
|
set $defaultAudioSink ${{pactl info | grep "Default Sink" | awk '{print $NF}' }} |
|
|
|
# Pulse Audio controls |
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $defaultAudioSink +5% |
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $defaultAudioSink -5% |
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $defaultAudioSink toggle |
|
|
|
# Sreen brightness controls |
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness |
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness |
|
|
|
|
|
# Media player controls |
|
#bindsym XF86AudioPlay exec playerctl play |
|
#bindsym XF86AudioPause exec playerctl pause |
|
#bindsym XF86AudioNext exec playerctl next |
|
#bindsym XF86AudioPrev exec playerctl previous |
|
|
|
# Clementine player controls |
|
#bindsym XF86AudioPlay exec clementine --play-pause |
|
bindsym XF86AudioPlay exec playerctl play-pause |
|
#bindsym XF86AudioPause exec clementine --pause |
|
bindsym XF86AudioPause exec playerctl pause |
|
bindsym XF86AudioNext exec clementine --next |
|
bindsym XF86AudioPrev exec clementine --previous |
|
bindsym Shift+XF86AudioRaiseVolume exec clementine --volume-up |
|
bindsym Shift+XF86AudioLowerVolume exec clementine --volume-down |
|
|
|
bindsym $mod+b exec sleep 0.5 && xset dpms force off |
|
|
|
bindsym $mod+Mod1+r exec recordmydesktop -o ~/Pictures/recordmydesktop/$(date +%Y%m%d).ogv |
|
bindsym $mod+Shift+Mod1+r exec killall -SIGTERM recordmydesktop |
|
|
|
|
|
|