diff options
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config##desktop.Linux.Lowe | 32 |
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 | |||
52 | font-2 = Raleway:size=10;1 | 52 | font-2 = Raleway:size=10;1 |
53 | font-3 = FuraCode Nerd Font:size=11;2 | 53 | font-3 = FuraCode Nerd Font:size=11;2 |
54 | 54 | ||
55 | modules-left = i3 pulseaudio | 55 | modules-left = i3 pulseaudio 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,17 +63,29 @@ type = custom/script | |||
63 | exec = ~/.config/polybar/focus | 63 | exec = ~/.config/polybar/focus |
64 | interval = 10 | 64 | interval = 10 |
65 | 65 | ||
66 | format-online = <toggle> <label-song> <icon-random> | 66 | [module/spotify] |
67 | label-song = %artist:0:24:...% - %title:0:24:...% | 67 | type = custom/script |
68 | icon-pause = | 68 | interval = 1 |
69 | icon-play = | 69 | ; format-prefix = "" |
70 | icon-random = 咽 | 70 | format = <label> |
71 | exec = 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 | ||
72 | toggle-on-foreground = ${colors.background_modules} | 84 | ; toggle-on-foreground = ${colors.background_modules} |
73 | toggle-off-foreground = ${colors.foreground_modules} | 85 | ; toggle-off-foreground = ${colors.foreground_modules} |
74 | 86 | ||
75 | format-offline = <label-offline> | 87 | ; format-offline = <label-offline> |
76 | label-offline = mpd is offline | 88 | ; label-offline = mpd is offline |
77 | 89 | ||
78 | [module/xwindow] | 90 | [module/xwindow] |
79 | type = internal/xwindow | 91 | type = internal/xwindow |