diff options
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config##desktop.Linux.Maus | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.config/polybar/config##desktop.Linux.Maus b/.config/polybar/config##desktop.Linux.Maus index 0c8ce3d..35e9381 100644 --- a/.config/polybar/config##desktop.Linux.Maus +++ b/.config/polybar/config##desktop.Linux.Maus | |||
@@ -52,7 +52,7 @@ font-1 = Lato:size=10;1 | |||
52 | font-2 = Raleway:size=10;1 | 52 | font-2 = Raleway:size=10;1 |
53 | font-3 = FuraCode Nerd Font:size=12;2 | 53 | font-3 = FuraCode Nerd Font:size=12;2 |
54 | 54 | ||
55 | modules-left = i3 pulseaudio-control mpd | 55 | modules-left = i3 pulseaudio-control spotify |
56 | modules-center = xwindow | 56 | modules-center = xwindow |
57 | modules-right = focus date time xkeyboard | 57 | modules-right = focus date time xkeyboard |
58 | 58 | ||
@@ -63,6 +63,14 @@ type = custom/script | |||
63 | exec = ~/.config/polybar/focus | 63 | exec = ~/.config/polybar/focus |
64 | interval = 10 | 64 | interval = 10 |
65 | 65 | ||
66 | [module/spotify] | ||
67 | type = custom/script | ||
68 | interval = 1 | ||
69 | format-prefix = "阮 " | ||
70 | format = <label> | ||
71 | exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p '契,' | ||
72 | |||
73 | |||
66 | [module/mpd] | 74 | [module/mpd] |
67 | type = internal/mpd | 75 | type = internal/mpd |
68 | host = 127.0.0.1 | 76 | host = 127.0.0.1 |