From 8fedf45bdce537aa53cad815024a0721b5538389 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Fri, 1 Jan 2021 16:02:28 -0300 Subject: Added music and BTC modules to polybar --- .config/polybar/config | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to '.config/polybar/config') diff --git a/.config/polybar/config b/.config/polybar/config index c76ff20b..8e3f091a 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -33,9 +33,9 @@ font-2 = Termsynu:size=10;0 font-3 = Siji:pixelsize=10;1 font-4 = FontAwesome:size=10;0 font-5 = Noto Color Emoji:scale=12;0 -modules-left = i3 spotify +modules-left = i3 music modules-center = xwindow -modules-right = cpu-temperature gpu-temperature pulseaudio xkeyboard cpu memory wireless-network mullvad-status battery clock +modules-right = crypto pulseaudio xkeyboard cpu memory wireless-network mullvad-status battery clock [module/i3] type = internal/i3 @@ -129,6 +129,12 @@ type = custom/script interval = 1 exec = python /home/roger/.config/polybar/spotify_status.py -t 80 --playpause-font=5 -p '⏯,⏸️' -f ' {play_pause} {song} - {artist} - {album}' +[module/music] +type = custom/script +interval = 1 +label = %output% +exec = ~/.config/polybar/music + [module/mullvad-status] type = custom/script exec = /home/roger/.config/polybar/mullvad_status.sh @@ -151,3 +157,10 @@ thermal-zone = 0 hwmon-path = /sys/devices/virtual/hwmon/hwmon4/temp9_input base-temperature = 20 warn-temperature = 80 + +[module/crypto] +type = custom/script +exec = python ~/.config/polybar/pcrypto.py --base USD --coins btc +interval = 60 + +font-0 = "coins:style=Regular;0" -- cgit v1.2.3