From bfbabe41093cb083907b247dffaf8ac1b051db0d Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Sun, 30 Jul 2017 19:33:42 -0500
Subject: [PATCH] Add a stop shortcut for i3 media mode

---
 .config/i3/config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.config/i3/config b/.config/i3/config
index 0c1ccba6..af50f3db 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -240,6 +240,9 @@ mode "media" {
 	bindsym Right exec --no-startup-id "mpc next; notify-send -a 'Mopidy' -u low -t 1 'Next' 'The current song has been skipped'"
 	bindsym Left exec --no-startup-id "mpc prev; notify-send -a 'Mopidy' -u low -t 1 'Previous' 'Rewound to the previous song'"
 
+	# Stop it altogether
+	bindsym k exec --no-startup-id "mpc stop; notify-send -a 'Mopidy' -u low -t 1 'Stopped' 'Playback has been stopped'"
+
 	# back to normal: Enter, Escape, or MOD+M
 	bindsym Return mode "default"
 	bindsym Escape mode "default"