Add cmus tcp config to xbindkeysrc

This commit is contained in:
Pavle Portic 2020-03-22 12:17:46 +01:00
parent 08e38e8a3a
commit 950fd3902e
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
3 changed files with 9 additions and 9 deletions

View File

@ -159,9 +159,9 @@ bindsym Shift+XF86MonBrightnessUp exec light -A 2
bindsym Shift+XF86MonBrightnessDown exec light -U 2
# Cmus controls
bindsym XF86AudioPlay exec "cmus-remote --server localhost:3000 --passwd {{ .i3.bumblebee.cmus.passwd }} -u"
bindsym XF86AudioNext exec "cmus-remote --server localhost:3000 --passwd {{ .i3.bumblebee.cmus.passwd }} -n"
bindsym XF86AudioPrev exec "cmus-remote --server localhost:3000 --passwd {{ .i3.bumblebee.cmus.passwd }} -r"
bindsym XF86AudioPlay exec "cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -u"
bindsym XF86AudioNext exec "cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -n"
bindsym XF86AudioPrev exec "cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -r"
# Take screenshot
bindsym Print exec pyazo
@ -217,7 +217,7 @@ bar {
time \
-p engine.workspacewheel=False \
cmus.server="localhost:3000" \
cmus.passwd="{{ .i3.bumblebee.cmus.passwd }}" \
cmus.passwd="{{ .cmus.passwd }}" \
date.format="%a, %Y-%m-%d" \
time.format="%H:%M:%S" \
-t gruvbox-powerline

View File

@ -1,5 +0,0 @@
"cmus-remote -n"
b:9 # mouse button next
"cmus-remote -r"
b:8 # mouse button previous

5
dot_xbindkeysrc.tmpl Normal file
View File

@ -0,0 +1,5 @@
"cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -n"
b:9 # mouse button next
"cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -r"
b:8 # mouse button previous