From acecaa7ffe97f9e71ff0e342ea261f0f5abcc8ec Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 13 Apr 2021 18:54:13 -0700 Subject: [PATCH] music commands --- .i3/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.i3/config b/.i3/config index 6f94349..c8d4f92 100644 --- a/.i3/config +++ b/.i3/config @@ -1,6 +1,6 @@ # This file has been auto-generated by i4-config-wizard(1). # It will not be overwritten, so edit it as you like. -# +#jk # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # @@ -10,6 +10,7 @@ # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod1 +set $win Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -215,6 +216,15 @@ mode "goremote" { bindsym $mod+Shift+Control+r mode "goremote" + +# Media controls +bindsym $win+Shift+k exec "playerctl play-pause" +bindsym $win+Shift+h exec "playerctl previous" +bindsym $win+Shift+l exec "playerctl next" +# Spotify doesn't understand volume controls? +#bindsym $win+Shift+j exec "playerctl volume 0.1-" +#bindsym $win+Shift+k exec "playerctl volume 0.1+" + # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) #bar {