i3: notify when Play-Pause is pressed

This commit is contained in:
Aminda Suomalainen 2019-02-13 23:40:51 +02:00
parent fbf3836bb4
commit 633936cd58
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ bindsym $mod+g exec --no-startup-id rofi -show window
bindsym XF86Calculator exec --no-startup-id galculator
# Media keys
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause && notify-send -t 500 "Play-Pause pressed"
# Volume keys NOTE: won't work if nothing is playing (which I consider an improvement
# over randomly stopping working as I enable and disable audio devices).
#set $sink $(pactl list short sinks | grep RUNNING | cut -f1)