Diff
1diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl
2index b17bacab63a5bee313338ee96deac5e7fef65ba0..400a1eb0a8fb0f452936413640ef2e2460028d9e 100644
3--- a/dot_config/i3/config.tmpl
4+++ b/dot_config/i3/config.tmpl
5@@ -159,9 +159,9 @@ bindsym Shift+XF86MonBrightnessUp exec light -A 2
6 bindsym Shift+XF86MonBrightnessDown exec light -U 2
7
8 # Cmus controls
9-bindsym XF86AudioPlay exec "cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -u"
10-bindsym XF86AudioNext exec "cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -n"
11-bindsym XF86AudioPrev exec "cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -r"
12+bindsym XF86AudioPlay exec "cmus-remote -u"
13+bindsym XF86AudioNext exec "cmus-remote -n"
14+bindsym XF86AudioPrev exec "cmus-remote -r"
15
16 # Take screenshot
17 bindsym Print exec pyazo
18@@ -179,7 +179,7 @@ hide_edge_borders smart
19 exec xcape -e 'Control_L=Escape'
20 exec_always python ~/.config/i3/i3-autoname-workspaces.py &
21 exec telegram-desktop >/dev/null 2>/dev/null &
22-exec roxterm -e cmus --listen 0.0.0.0:3000 >/dev/null 2>/dev/null &
23+exec roxterm -e cmus >/dev/null 2>/dev/null &
24 exec env GTK_THEME=Arc-Solid gtk-launch firefox >/dev/null 2>/dev/null &
25 exec gtk-launch thunderbird >/dev/null 2>/dev/null &
26
27@@ -218,12 +218,12 @@ bar {
28 -p engine.workspacewheel=False \
29 pasource.showbars="1" \
30 pasink.showbars="1" \
31- cmus.server="localhost:3000" \
32- cmus.passwd="{{ .cmus.passwd }}" \
33 cmus.layout="cmus.prev cmus.main cmus.next cmus.shuffle" \
34 {{ .i3.bumblebee.parameters }} \
35 date.format="%a, %Y-%m-%d" \
36+ date.interval="30" \
37 time.format="%H:%M:%S" \
38+ time.interval="1" \
39 -t gruvbox-powerline
40 bindsym button4 nop
41 bindsym button5 nop
42diff --git a/dot_config/i3/i3-autoname-workspaces.py b/dot_config/i3/i3-autoname-workspaces.py
43index 42216f2c853d036e43f0d2200708f6bbdf815607..5d9e237e80fafb466f5736d469419cd1e5ececf7 100644
44--- a/dot_config/i3/i3-autoname-workspaces.py
45+++ b/dot_config/i3/i3-autoname-workspaces.py
46@@ -29,8 +29,8 @@ import signal
47 import subprocess as proc
48 import sys
49
50-import fontawesome as fa
51-import i3ipc
52+import fontawesome as fa # type: ignore
53+import i3ipc # type: ignore
54
55 # Add icons here for common programs you use. The keys are the X window class
56 # (WM_CLASS) names (lower-cased) and the icons can be any text you want to
57diff --git a/dot_xbindkeysrc b/dot_xbindkeysrc
58new file mode 100644
59index 0000000000000000000000000000000000000000..375b1ea7ec8ca8466a9ad4177cbadfffd2784f6f
60--- /dev/null
61+++ b/dot_xbindkeysrc
62@@ -0,0 +1,5 @@
63+"cmus-remote -n"
64+ b:9 # mouse button next
65+
66+"cmus-remote -r"
67+ b:8 # mouse button previous
68diff --git a/dot_xbindkeysrc.tmpl b/dot_xbindkeysrc.tmpl
69deleted file mode 100644
70index d28459bfbde4859a2590bc321ab4f733bbc5c919..0000000000000000000000000000000000000000
71--- a/dot_xbindkeysrc.tmpl
72+++ /dev/null
73@@ -1,5 +0,0 @@
74-"cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -n"
75- b:9 # mouse button next
76-
77-"cmus-remote --server localhost:3000 --passwd {{ .cmus.passwd }} -r"
78- b:8 # mouse button previous