summaryrefslogtreecommitdiffstats
path: root/.config/polybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config##desktop.Linux.Lowe32
1 files changed, 22 insertions, 10 deletions
diff --git a/.config/polybar/config##desktop.Linux.Lowe b/.config/polybar/config##desktop.Linux.Lowe
index 4cc63d7..9251210 100644
--- a/.config/polybar/config##desktop.Linux.Lowe
+++ b/.config/polybar/config##desktop.Linux.Lowe
@@ -52,7 +52,7 @@ font-1 = Lato:size=10;1
52font-2 = Raleway:size=10;1 52font-2 = Raleway:size=10;1
53font-3 = FuraCode Nerd Font:size=11;2 53font-3 = FuraCode Nerd Font:size=11;2
54 54
55modules-left = i3 pulseaudio 55modules-left = i3 pulseaudio spotify
56modules-center = xwindow 56modules-center = xwindow
57modules-right = focus date time xkeyboard 57modules-right = focus date time xkeyboard
58 58
@@ -63,17 +63,29 @@ type = custom/script
63exec = ~/.config/polybar/focus 63exec = ~/.config/polybar/focus
64interval = 10 64interval = 10
65 65
66format-online = <toggle> <label-song> <icon-random> 66[module/spotify]
67label-song = %artist:0:24:...% - %title:0:24:...% 67type = custom/script
68icon-pause =  68interval = 1
69icon-play =  69; format-prefix = ""
70icon-random = 咽 70format = <label>
71exec = python ./spotify_status.py -f '{play_pause} {artist} - {song}' -p 'playing,paused'
72
73; [module/dpmpd]
74; type = internal/mpd
75; host = 127.0.0.1
76; port = 6600
77
78; format-online = <toggle> <label-song> <icon-random>
79; label-song = %artist:0:24:...% - %title:0:24:...%
80; icon-pause = 
81; icon-play = 
82; icon-random = 咽
71 83
72toggle-on-foreground = ${colors.background_modules} 84; toggle-on-foreground = ${colors.background_modules}
73toggle-off-foreground = ${colors.foreground_modules} 85; toggle-off-foreground = ${colors.foreground_modules}
74 86
75format-offline = <label-offline> 87; format-offline = <label-offline>
76label-offline = mpd is offline 88; label-offline = mpd is offline
77 89
78[module/xwindow] 90[module/xwindow]
79type = internal/xwindow 91type = internal/xwindow