+ Weather script for polybar
This commit is contained in:
@@ -4,6 +4,7 @@ throttle-limit = 5
|
||||
|
||||
[bar/cute]
|
||||
monitor = DP-2
|
||||
|
||||
width = 100%
|
||||
height = 27
|
||||
offset-y = 5
|
||||
@@ -21,6 +22,7 @@ padding-right = 2
|
||||
module-margin-left = 0
|
||||
module-margin-right = 2
|
||||
|
||||
|
||||
font-0 = Fixedsys Excelsior 3.01:pixelsize=12:antialias=true:autohint=true
|
||||
font-1 = Fixedsys Excelsior 3.01:pixelsize=12:antialias=true:autohint=true
|
||||
font-2 = Fixedsys Excelsior 3.01:pixelsize=12:antialias=true:autohint=true
|
||||
@@ -28,7 +30,7 @@ font-3 = Fixedsys Excelsior 3.01:pixelsize=12:antialias=true:autohint=true
|
||||
font-4 = Fixedsys Excelsior 3.01:pixelsize=12:antialias=true:autohint=true
|
||||
|
||||
modules-left = i3 title
|
||||
modules-right = pulseaudio filesystem clock
|
||||
modules-right = pulseaudio filesystem wttr clock
|
||||
|
||||
tray-position = right
|
||||
#override-redirect = true
|
||||
@@ -96,6 +98,15 @@ label-mounted-padding = 2
|
||||
label-mounted = %mountpoint% %percentage_used% of %total%
|
||||
|
||||
|
||||
[module/wttr]
|
||||
type = custom/script
|
||||
exec = /home/shockrah/Rice/weather-fetch/fetch.py
|
||||
interval = 3600
|
||||
|
||||
format-background = #155415
|
||||
format-underline = #249124
|
||||
format-overline = #249124
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 0.5
|
||||
|
||||
Reference in New Issue
Block a user