Polybar: Add scripted weather module

This commit is contained in:
2017-09-13 00:22:41 -05:00
parent 98112b499b
commit 8e7643f352
2 changed files with 40 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ background = #001d2021
modules-left = i3 bspwm |
modules-center = xwindow-label
modules-right = | temperature-label-alert mpd-mini wlan-network-mini volume-ramp-mini battery-ramp-mini | date-mini
modules-right = | temperature-label-alert mpd-mini wlan-network-mini volume-ramp-mini battery-ramp-mini | weather-mini date-mini
#========================================
# MODULES
@@ -420,6 +420,11 @@ ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
[module/weather-mini]
type = custom/script
exec = $HOME/.config/polybar/weather.sh
interval = 60
[module/wlan-network]
inherit = template/module/network
format-connected-prefix = " "