From 92ae4e5c2cac0f5f90059ff5e9efb239e80716a1 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 2 Jan 2021 14:54:01 +0100 Subject: corona --- .config/polybar/config | 42 +++++++++++------------------------------- .local/share/bin/covid | 13 +++++++++++++ 2 files changed, 24 insertions(+), 31 deletions(-) create mode 100755 .local/share/bin/covid diff --git a/.config/polybar/config b/.config/polybar/config index 84a2bb3..7492e59 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -32,17 +32,17 @@ foreground = ${color.fg} radius-top = 0.0 radius-bottom = 0.0 -padding = 4 +padding = 6 -module-margin-left = 2 -module-margin-right = 2 +module-margin-left = 3 +module-margin-right = 3 font-0 = "Product Sans:pixelsize=11:weight=regular:size=0;2" font-1 = "Product Sans:pixelsize=11:weight=bold:size=0;2" font-2 = "Material Design Icons:size=12;2" modules-left = time date -modules-center = weather mpd +modules-center = covid weather mpd modules-right = alsa whoami separator = @@ -106,24 +106,13 @@ alpha = #00000000 [module/alsa] type = internal/alsa - format-volume = -format-volume-background = ${color.bg} -format-volume-foreground = ${color.fg} -format-volume-padding = ${barsettings.padding} - label-volume = %percentage%% - format-muted-prefix = "󰖁 " -format-muted-background = ${color.fg} -format-muted-foreground = ${color.bg} -format-muted-padding = ${barsettings.padding} label-muted = "Muted" - ramp-volume-0 = 󰕿 ramp-volume-1 = 󰖀 ramp-volume-2 = 󰕾 - ramp-headphones-0 = 󰋋 ramp-headphones-1 = 󰟎 @@ -132,10 +121,6 @@ type = internal/date interval = 1.0 time = 󰃭 %{T2}%A%{T-}, %B %d format =