Add shortcuts to start Cantata and MPD stream

This commit is contained in:
M1dgard 2018-04-25 12:18:22 +02:00
parent 30d49eb4d6
commit 61990df48e
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -2,6 +2,7 @@
# See http://i3wm.org/docs/userguide.html for a complete reference
set $term $HOME/.config/i3/terminal.sh
set $termexec xfce4-terminal
set $barlaunchcmd $HOME/.config/polybar/launch.sh
########################
@ -104,6 +105,9 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i $volumeStep
bindsym XF86AudioMute exec --no-startup-id pamixer -t
bindsym XF86AudioMicMute exec --no-startup-id pamixer --source alsa_input.pci-0000_00_1b.0.analog-stereo -t
bindsym $mod+XF86AudioLowerVolume workspace 11; exec cantata
bindsym $mod+XF86AudioRaiseVolume workspace 11; exec "$termexec -x mpv --cache-secs=1 '<your MPD output stream here>'"
bindsym XF86MonBrightnessDown exec --no-startup-id $HOME/.config/i3/backlight.sh down
bindsym XF86MonBrightnessUp exec --no-startup-id $HOME/.config/i3/backlight.sh up