diff options
author | Yigit Sever | 2019-10-30 00:46:56 +0300 |
---|---|---|
committer | Yigit Sever | 2019-10-30 00:46:56 +0300 |
commit | d1ee1bb3e4cc3bce202cae68f31fa9e7afcd7c94 (patch) | |
tree | ddf8cf296996b345fc92a2337403294c83647abf /.config/polybar | |
parent | d1c0127a9c3292239ef7ac357566d0575cd026f7 (diff) | |
download | dotfiles-d1ee1bb3e4cc3bce202cae68f31fa9e7afcd7c94.tar.gz dotfiles-d1ee1bb3e4cc3bce202cae68f31fa9e7afcd7c94.tar.bz2 dotfiles-d1ee1bb3e4cc3bce202cae68f31fa9e7afcd7c94.zip |
Nice spotify icons
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 |