music commands

This commit is contained in:
Barak Michener 2021-04-13 18:54:13 -07:00
parent df2ad52c99
commit acecaa7ffe

View file

@ -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 {