Add cmus tcp config to xbindkeysrc
This commit is contained in:
parent
08e38e8a3a
commit
950fd3902e
|
@ -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
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
"cmus-remote -n"
|
||||
b:9 # mouse button next
|
||||
|
||||
"cmus-remote -r"
|
||||
b:8 # mouse button previous
|
|
@ -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
|
Loading…
Reference in New Issue