From 72920e39773e71e2febfa1da31107bdcb2128556 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 4 Jun 2024 16:41:52 +0800 Subject: moved decor: arrow, to decor.ini instead of modules.ini --- dot-config/polybar/decor.ini | 7 +++++++ dot-config/polybar/modules.ini | 11 ++--------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dot-config/polybar/decor.ini b/dot-config/polybar/decor.ini index a90fe288..7c4a1d7a 100644 --- a/dot-config/polybar/decor.ini +++ b/dot-config/polybar/decor.ini @@ -54,6 +54,13 @@ content = "%{T3}%{T-}" content-background = ${color.BACKGROUND} content-foreground = ${color.ALTBACKGROUND} +[module/arrow] + type = custom/text + content =  #use this if it looks small : content = %{T2}%{T-} + content-background = ${colors.background} + content-foreground = ${colors.primary} + click-right = $HOME/.config/polybar/scripts/sysTray.py + ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; __________ ______ ;; / ____/ __ \/ ____/ diff --git a/dot-config/polybar/modules.ini b/dot-config/polybar/modules.ini index e451de2e..e88c8ce2 100644 --- a/dot-config/polybar/modules.ini +++ b/dot-config/polybar/modules.ini @@ -720,8 +720,8 @@ thermal-zone = 0 ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done ; to find path to desired file ; Default reverts to thermal zone setting -# hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input -hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input +# hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input +hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input ; Base temperature for where to start the ramp (in degrees celsius) ; Default: 0 @@ -800,13 +800,6 @@ scroll-up = $HOME/scripts/bin/NekoMC --previous scroll-down = $HOME/scripts/bin/NekoMC --next format-font = 7 -[module/arrow] - type = custom/text - content =  #use this if it looks small : content = %{T2}%{T-} - content-background = ${colors.background} - content-foreground = ${colors.primary} - click-right = $HOME/.config/polybar/scripts/sysTray.py - [module/gmail] type = custom/script exec = bar-gmail -sm -f polybar -- cgit v1.2.3