From 9adabddf70494ba534bcc5dd94260a92e1c996c3 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 19 Mar 2021 00:11:15 +0100 Subject: [PATCH] Update polybar color scheme --- .config/polybar/config-top.ini | 2 +- .config/polybar/modules.ini | 37 ++++++++++++-------------------- .config/polybar/user_modules.ini | 3 +-- 3 files changed, 16 insertions(+), 26 deletions(-) diff --git a/.config/polybar/config-top.ini b/.config/polybar/config-top.ini index f2f5316..691b30a 100644 --- a/.config/polybar/config-top.ini +++ b/.config/polybar/config-top.ini @@ -211,7 +211,7 @@ tray-transparent = false ; ARGB color (e.g. #f00, #ff992a, #ddff1023) ; By default the tray container will use the bar ; background color. -tray-background = ${root.background} +; tray-background = ${color.bg} ; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) tray-offset-x = 0 diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 1caec15..75c4bc1 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -134,7 +134,7 @@ ramp-4 =  type = internal/battery ; This is useful in case the battery never reports 100% charge -full-at = 99 +full-at = 100 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ @@ -162,8 +162,8 @@ time-format = %H:%M ; ; ; -format-charging = -; format-charging-prefix =  +format-charging = +format-charging-prefix =  ; Available tags: ; (default) ; @@ -175,7 +175,7 @@ format-discharging = ; (default) ; ; -;format-full = +format-full = ; Available tokens: ; %percentage% (default) @@ -223,16 +223,6 @@ animation-charging-8 =  ; Framerate in milliseconds animation-charging-framerate = 750 -; Only applies if is used -;;animation-discharging-0 =  -;;animation-discharging-1 =  -;;animation-discharging-2 =  -;;animation-discharging-3 =  -;;animation-discharging-4 =  -;;animation-discharging-5 =  -;;animation-discharging-6 =  -;;animation-discharging-7 =  -;;animation-discharging-8 =  ; Framerate in milliseconds ;animation-discharging-framerate = 500 @@ -444,7 +434,7 @@ type = internal/fs ; Mountpoints to display mount-0 = / mount-1 = /home -mount-2 = /run/media/blade +mount-2 = /media/blade ; Seconds to sleep between updates ; Default: 30 @@ -592,8 +582,8 @@ label-mode-background = #e60053 ; Default: %icon% %name% label-focused = %index% label-focused-foreground = ${color.fg} -label-focused-background = ${color.sbg} -label-focused-underline = ${color.ac} +label-focused-background = ${color.dblack} +label-focused-underline = ${color.magenta} label-focused-padding = 4 ; Available tokens: @@ -629,7 +619,7 @@ label-urgent-padding = 4 ; Separator in between workspaces label-separator = | label-separator-padding = 2 -label-separator-foreground = ${color.ac} +label-separator-foreground = ${color.magenta} ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ @@ -947,7 +937,7 @@ interval = 0.5 ; To list all the zone types, run ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done ; Default: 0 -thermal-zone = 0 +thermal-zone = 2 ; Full path of temperature sysfs path ; Use `sensors` to find preferred temperature source, then run @@ -1011,6 +1001,7 @@ blacklist-1 = scroll lock ; (default) format =  ;;format-spacing = 0 +format-foreground = ${color.yellow} ; Available tokens: ; %layout% @@ -1020,14 +1011,14 @@ format =  label-layout = %layout% ;;label-layout-padding = 2 ;;label-layout-background = #bc99ed -;;label-layout-foreground = #000 +; label-layout-foreground = ${color.yellow} ; Available tokens: ; %name% ; Default: %name% label-indicator = %name% ;;label-indicator-padding = 2 -label-indicator-foreground = ${color.ac} +; label-indicator-foreground = ${color.yellow} ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ @@ -1038,7 +1029,7 @@ type = internal/xwindow ;