From 633936cd58843aa93d0831b8c9dbed31a30514aa Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 13 Feb 2019 23:40:51 +0200 Subject: [PATCH] i3: notify when Play-Pause is pressed --- conf/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/i3/config b/conf/i3/config index 31c9e422..a43e0cdf 100644 --- a/conf/i3/config +++ b/conf/i3/config @@ -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)