Add weather module (not part of dotfiles)

This commit is contained in:
Danila Fedorin 2021-04-06 23:10:45 -07:00
parent 933542d9d7
commit 852f588bd3

View File

@ -39,7 +39,7 @@ line-color = #f00
border-size = 4 border-size = 4
border-color = #00000000 border-color = #00000000
padding-left = 0 padding-left = 2
padding-right = 2 padding-right = 2
module-margin-left = 1 module-margin-left = 1
@ -47,6 +47,7 @@ module-margin-right = 2
font-0 = Iosevka:pixelsize=9;1 font-0 = Iosevka:pixelsize=9;1
font-1 = Ionicons:pixelsize=9;1 font-1 = Ionicons:pixelsize=9;1
font-2 = Weather Icons:size=7;1
; font-0 = fixed:pixelsize=10;1 ; font-0 = fixed:pixelsize=10;1
; font-1 = Wuncon Siji:pixelsize=12;1 ; font-1 = Wuncon Siji:pixelsize=12;1
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
@ -54,7 +55,7 @@ font-1 = Ionicons:pixelsize=9;1
modules-left = bspwm i3 modules-left = bspwm i3
modules-center = modules-center =
modules-right = filesystem volume memory cpu battery temperature date wlan powermenu modules-right = openweathermap-fullfeatured filesystem volume memory cpu battery temperature date wlan powermenu
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 2
@ -75,6 +76,12 @@ tray-padding = 2
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
[module/openweathermap-fullfeatured]
type = custom/script
exec = ~/software/polybar-scripts/polybar-scripts/openweathermap-fullfeatured/openweathermap-fullfeatured.sh
interval = 600
label-font = 3
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:30:...% label = %title:0:30:...%
@ -101,7 +108,7 @@ interval = 25
mount-0 = / mount-0 = /
label-mounted = %{F#cf5fb4}%mountpoint%%{F-}: %percentage_used%% label-mounted = %{F}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt} label-unmounted-foreground = ${colors.foreground-alt}