diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-09-19 17:50:26 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-09-19 17:50:26 +0530 |
commit | 3c7c48d890d7e3d144d8bc9d90e0d27c65de8414 (patch) | |
tree | 03ceeebbc1868e8e4e58f4eb80bccf885fe61ac9 /.config/polybar | |
parent | 06d2cf75294636dad6013ec004ed6c958034195b (diff) |
added nerdfonts icon to temperature label-warn and made it red
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/bars.ini | 3 | ||||
-rw-r--r-- | .config/polybar/colors.ini | 2 | ||||
-rw-r--r-- | .config/polybar/modules.ini | 10 |
3 files changed, 8 insertions, 7 deletions
diff --git a/.config/polybar/bars.ini b/.config/polybar/bars.ini index 7cc3343..e4d999c 100644 --- a/.config/polybar/bars.ini +++ b/.config/polybar/bars.ini @@ -69,4 +69,5 @@ font-3 = "Hack Nerd Font:style=Regular:size=20;5" font-4 = "Source Han Sans JP:style=Heavy:size=11;2" # font-1 but bold, make sure to edit accordingly modules-left = powerline0 date powerline1 wlan eth powerline2 storage-root powerline1 storage-home powerline2 cpu powerline1 temperature powerline2 memory powerline1 backlight powerline3 xwindow -modules-right = polydoro pulseaudio ewmh battery systray +modules-right = polydoro pulseaudio ewmh battery +#systray diff --git a/.config/polybar/colors.ini b/.config/polybar/colors.ini index 9030d8f..6272c96 100644 --- a/.config/polybar/colors.ini +++ b/.config/polybar/colors.ini @@ -51,7 +51,7 @@ cpu-bg = ${colors.module-color-1} temp-fg = ${colors.foreground} temp-bg = ${colors.module-color-0} -temp-warn-fg = ${colors.temp-fg} +temp-warn-fg = ${colors.red} temp-warn-bg = ${colors.module-color-0} mem-fg = ${colors.foreground-alt} diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 24fda55..b977c33 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -119,11 +119,12 @@ thermal-zone = 0 warn-temperature = 65 label = " %{T3} %{T-} %temperature-c% " -label-warn-foreground = ${colors.temp-warn-fg} -label-warn-background = ${colors.temp-warn-bg} +label-warn = " %{T3} %{T-} %temperature-c% " label-background = ${colors.temp-bg} label-foreground = ${colors.temp-fg} +label-warn-foreground = ${colors.temp-warn-fg} +label-warn-background = ${colors.temp-warn-bg} [module/battery] type = internal/battery @@ -220,10 +221,9 @@ tray-spacing = 8px [module/polydoro] type = custom/script - -exec = FORMAT_WORK_IDLE=" Task {counter}" FORMAT_BREAK_IDLE="%{F#89b4fa} Break {counter}%{F-}" FORMAT_LONG_BREAK_IDLE="%{F#a6e3a1} Long Break%{F-}" FORMAT_WORK="%{F#94e2d5} {time}" FORMAT_BREAK="%{F#89b4fa} {time}%{F-}" FORMAT_LONG_BREAK="%{F#a6e3a1} {time}%{F-}" FORMAT_WORK_PAUSED="%{F#94e2d5} {counter} - {time}" FORMAT_BREAK_PAUSED="%{F#89b4fa} {counter} - {time}%{F-}" FORMAT_LONG_BREAK_PAUSED="%{F#a6e3a1} {time}%{F-}" polydoro -l - +exec = FORMAT_WORK_IDLE=" Task {counter}" FORMAT_BREAK_IDLE="%{F#89b4fa} Break {counter}%{F-}" FORMAT_LONG_BREAK_IDLE="%{F#a6e3a1} Long Break%{F-}" FORMAT_WORK="%{F#94e2d5} {time}%{F-}" FORMAT_BREAK="%{F#89b4fa} {time}%{F-}" FORMAT_LONG_BREAK="%{F#a6e3a1} {time}%{F-}" FORMAT_WORK_PAUSED="%{F#94e2d5} {counter} - {time}%{F-}" FORMAT_BREAK_PAUSED="%{F#89b4fa} {counter} - {time}%{F-}" FORMAT_LONG_BREAK_PAUSED="%{F#a6e3a1} {time}%{F-}" polydoro -l tail = true + format-padding = 2 click-left = polydoro toggle click-middle = polydoro skip |