Polybar update.

This commit is contained in:
Joachim Nielandt 2020-07-14 21:46:34 +02:00
parent 9279e041fa
commit 61a434af07

View File

@ -1,3 +1,4 @@
;
;===================================================== ;=====================================================
; ;
; To learn more about how to configure Polybar ; To learn more about how to configure Polybar
@ -7,82 +8,88 @@
; ;
;===================================================== ;=====================================================
[colors] [colors]
background = ${xrdb:color0:#222} # gruvbox colors
foreground = ${xrdb:color7:#222} dark0_hard = #1d2021
background-alt = ${xrdb:color10:#222} dark0 = #282828
foreground-alt = ${xrdb:color4:#222} dark0_soft = #32302f
icon-color = ${xrdb:color4:#FF2} dark1 = #3c3836
primary = ${xrdb:color1:#222} dark2 = #504945
alert = ${xrdb:color10:#222} dark3 = #665c54
secondary = ${xrdb:color10:#222} dark4 = #7c6f64
; let's get some colors from xrdb (pywal) gray_245 = #928374
col0 = ${xrdb:color0:#222} gray_244 = #928374
col1 = ${xrdb:color1:#222} light0_hard = #f9f5d7
col2 = ${xrdb:color2:#222} light0 = #fbf1c7
col3 = ${xrdb:color3:#222} light0_soft = #f2e5bc
col4 = ${xrdb:color4:#222} light1 = #ebdbb2
col5 = ${xrdb:color5:#222} light2 = #d5c4a1
col6 = ${xrdb:color6:#222} light3 = #bdae93
col7 = ${xrdb:color7:#222} light4 = #a89984
col8 = ${xrdb:color8:#222} bright_red = #fb4934
col9 = ${xrdb:color9:#222} bright_green = #b8bb26
col10 = ${xrdb:color10:#222} bright_yellow = #fabd2f
col11 = ${xrdb:color11:#222} bright_blue = #83a598
col12 = ${xrdb:color12:#222} bright_purple = #d3869b
col13 = ${xrdb:color13:#222} bright_aqua = #8ec07c
gruvbg = ${xrdb:background:#222} bright_orange = #fe8019
gruvbghard = ${xrdb:backgroundhard:#222} neutral_red = #cc241d
gruvbgsoft = ${xrdb:backgroundsoft:#222} neutral_green = #98971a
gruvfg = ${xrdb:foreground:#222} neutral_yellow = #d79921
; control some of the later elements from here, nice and tidy neutral_blue = #458588
underline-cpu = ${xrdb:color2:#222} neutral_purple = #b16286
underline-memory = ${xrdb:color3:#222} neutral_aqua = #689d6a
underline-date = ${xrdb:color4:#222} neutral_orange = #d65d0e
underline-battery = ${xrdb:color5:#222} faded_red = #9d0006
underline-temperature = ${xrdb:color6:#222} faded_green = #79740e
underline-keyboard = ${xrdb:color7:#222} faded_yellow = #b57614
underline-i3-focused = ${xrdb:color10:#222} faded_blue = #076678
underline-i3-unfocused = ${xrdb:color8:#222} faded_purple = #8f3f71
faded_aqua = #427b58
faded_orange = #af3a03
# want to get colors from xrdb / .Xresources?
# background = ${xrdb:color0:#222}
bar-background = #00FFFFFF
[bar/general] [bar/general]
width = 100% width = 100%
; spaces before/after each module ; spaces before/after each module
module-margin-left = 1 module-margin-left = 1
module-margin-right = 1 module-margin-right = 1
height = 27 height = 27
fixed-center = true fixed-center = true
line-size = 3 line-size = 2
line-color = #f00 line-color = #f00
; rounded corners of the bar ; rounded corners of the bar
radius = 0.0 radius = 0.0
;this makes sure that i3 doesn't reposition everything when polybar becomes active... is shit ;this makes sure that i3 doesn't reposition everything when polybar becomes active... is shit
override-redirect = false override-redirect = false
wm-restack = i3 wm-restack = i3
; all the bar colors ; all the bar colors
background = ${colors.background} background = ${colors.bar-background}
foreground = ${colors.foreground} foreground = ${colors.light0_hard}
border-color = ${colors.background} border-color = ${colors.bright_blue}
; spaces on begin/end of bar ; spaces on begin/end of bar
padding-left = 2 padding-left = 2
padding-right = 2 padding-right = 2
; set the bar fonts ; set the bar fonts
;font-0 = fixed:pixelsize=10;1 ;font-0 = fixed:pixelsize=10;1
;font-0 = "Wuncon Siji:pixelsize=15;1" ;font-0 = "Wuncon Siji:pixelsize=15;1"
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1" ;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1"
font-0 = FuraCode Nerd Font:pixelsize=11;1 font-0 = FuraCode Nerd Font:pixelsize=11;1
;font-1 = Siji:style=Regular:pixelsize=11
font-1 = Siji:pixelsize=14;0
; override pointers ; override pointers
cursor-click = pointer cursor-click = pointer
cursor-scroll = pointer cursor-scroll = pointer
[bar/example]
; this bar will contain the tray, only on primary monitor
[bar/primary]
inherit = bar/general inherit = bar/general
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
;offset-x = 2% ;offset-x = 2%
@ -91,12 +98,10 @@ monitor = ${env:MONITOR:eDP-1}
;border-size = 20 ;border-size = 20
;border-left-size = 16 ;border-left-size = 16
;border-right-size = 16 ;border-right-size = 16
;unused modules - mpd xbacklight backlight-acpi alsa ;unused modules - mpd xbacklight backlight-acpi alsa
modules-left = i3 modules-left = i3
modules-center = temperature battery xkeyboard memory cpu filesystem updates-arch reboot-check xbacklight top-process modules-center = temperature battery xkeyboard memory cpu filesystem updates-arch reboot-check xbacklight top-process
modules-right = net1 wifi0 vpn powermenu modules-right = net wifi0 vpn powermenu
; TRAY MANAGEMENT ; TRAY MANAGEMENT
;tray-position = right ;tray-position = right
tray-position = ${env:TRAY_POSITION:none} tray-position = ${env:TRAY_POSITION:none}
@ -109,24 +114,34 @@ tray-offset-x = 0
tray-offset-y = 27 tray-offset-y = 27
tray-padding = 2 tray-padding = 2
tray-scale = 1.0 tray-scale = 1.0
scroll-up = i3wm-wsnext scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev scroll-down = i3wm-wsprev
cursor-click = pointer cursor-click = pointer
;cursor-scroll = ns-resize ;cursor-scroll = ns-resize
cursor-scroll = pointer cursor-scroll = pointer
[bar/secondary] [bar/secondary]
inherit = bar/general inherit = bar/general
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
;offset-x = 2% ;offset-x = 2%
;offset-y = 1% ;offset-y = 1%
;unused modules - mpd xbacklight backlight-acpi alsa ;unused modules - mpd xbacklight backlight-acpi alsa
modules-right = pulseaudio modules-right = pulseaudio
modules-center = player-mpris-tail modules-center = player-mpris-tail
modules-left = date info-hackspeed modules-left = host-icon date info-hackspeed
[module/host-icon]
type = custom/script
exec = echo 0
;tail = false
label-foreground = ${colors.bright_orange}
{{- if eq .chezmoi.hostname "carbonraptor" }}
label = ""
{{ else }}
label = "?"
{{- end }}
[module/player-mpris-tail] [module/player-mpris-tail]
type = custom/script type = custom/script
@ -137,15 +152,15 @@ label = %output%
[module/info-hackspeed] [module/info-hackspeed]
type = custom/script type = custom/script
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.icon-color} format-prefix-foreground = ${colors.bright_blue}
exec = ~/.config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/info-hackspeed.sh exec = ~/.config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/info-hackspeed.sh
tail = true tail = true
[module/top-process] [module/top-process]
type = custom/script type = custom/script
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.icon-color} format-prefix-foreground = ${colors.bright_blue}
format-underline = ${colors.alert} ;format-underline = ${colors.bright_red}
interval = 5 interval = 5
exec = ~/.dotfiles/scripts/top.process.sh exec = ~/.dotfiles/scripts/top.process.sh
tail = true tail = true
@ -157,32 +172,26 @@ label = %title:0:30:...%
[module/xkeyboard] [module/xkeyboard]
type = internal/xkeyboard type = internal/xkeyboard
blacklist-0 = num lock blacklist-0 = num lock
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.icon-color} format-prefix-foreground = ${colors.bright_blue}
format-prefix-underline = ${colors.underline-keyboard} ;format-prefix-underline = ${colors.underline-keyboard}
; layout, number, name ; layout, number, name
label-layout = %layout% label-layout = %layout%
label-layout-underline = ${colors.underline-keyboard} ;label-layout-underline = ${colors.underline-keyboard}
label-indicator-padding = 2 label-indicator-padding = 2
label-indicator-margin = 1 label-indicator-margin = 1
label-indicator-background = ${colors.secondary} label-indicator-background = ${colors.neutral_blue}
label-indicator-underline = ${colors.underline-keyboard} ;label-indicator-underline = ${colors.underline-keyboard}
cursor-click = pointer cursor-click = pointer
[module/vpn] [module/vpn]
type = custom/script type = custom/script
exec = nmcli | grep "VPN connection" | sed -e "s/VPN connection//g" exec = nmcli | grep "VPN connection" | sed -e "s/VPN connection//g"
exec-if = pgrep -x openvpn exec-if = pgrep -x openvpn
interval = 5 interval = 5
format-underline = #268bd2 ;format-underline = #268bd2
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.col1} format-prefix-foreground = ${colors.light0}
[module/filesystem] [module/filesystem]
type = internal/fs type = internal/fs
@ -191,25 +200,25 @@ mount-0 = /
mount-1 = /mnt/ext4 mount-1 = /mnt/ext4
label-mounted = %{F#0a81f5}%mountpoint%%{F-} %percentage_used%% label-mounted = %{F#0a81f5}%mountpoint%%{F-} %percentage_used%%
label-unmounted = %mountpoint% not mounted label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt} label-unmounted-foreground = ${colors.bright_green}
[module/bspwm] [module/bspwm]
type = internal/bspwm type = internal/bspwm
label-focused = %index% label-focused = %index%
label-focused-background = ${colors.background-alt} label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary} ;label-focused-underline= ${colors.primary}
label-focused-padding = 2 label-focused-padding = 2
label-occupied = %index% label-occupied = %index%
label-occupied-padding = 2 label-occupied-padding = 2
label-urgent = %index%! label-urgent = %index%!
label-urgent-background = ${colors.alert} label-urgent-background = ${colors.bright_red}
label-urgent-padding = 2 label-urgent-padding = 2
label-empty = %index% label-empty = %index%
label-empty-foreground = ${colors.foreground-alt} label-empty-foreground = ${colors.bright_green}
label-empty-padding = 2 label-empty-padding = 2
; Separator in between workspaces ; Separator in between workspaces
@ -249,10 +258,10 @@ ws-icon-default = 
; Whenever the 'move' changes... like 'resize', ... ; Whenever the 'move' changes... like 'resize', ...
label-mode-padding = 2 label-mode-padding = 2
label-mode-foreground = ${colors.gruvfg} label-mode-foreground = ${colors.light0_hard}
;label-mode-background = ${colors.primary} ;label-mode-background = ${colors.primary}
label-mode-background = ${colors.col4} label-mode-background = ${colors.bright_yellow}
label-mode-underline = ${colors.col12} ;label-mode-underline = ${colors.light2}
; focused = Active workspace on focused monitor ; focused = Active workspace on focused monitor
label-focused = %icon% %name% label-focused = %icon% %name%
@ -260,15 +269,15 @@ label-focused = %icon% %name%
;label-focused-background = ${module/bspwm.label-focused-background} ;label-focused-background = ${module/bspwm.label-focused-background}
;label-focused-underline = ${module/bspwm.label-focused-underline} ;label-focused-underline = ${module/bspwm.label-focused-underline}
;label-focused-padding = ${module/bspwm.label-focused-padding} ;label-focused-padding = ${module/bspwm.label-focused-padding}
label-focused-background = ${colors.col2} label-focused-background = ${colors.light1}
label-focused-foreground = ${colors.gruvbghard} label-focused-foreground = ${colors.dark0_hard}
label-focused-underline = ${colors.underline-i3-focused} ;label-focused-underline = ${colors.underline-i3-focused}
label-focused-padding = 2 label-focused-padding = 2
; unfocused = Inactive workspace on any monitor ; unfocused = Inactive workspace on any monitor
;label-unfocused = %index% ;label-unfocused = %index%
label-unfocused = %icon% %name% label-unfocused = %icon% %name%
label-unfocused-underline = ${colors.underline-i3-unfocused} ;label-unfocused-underline = ${colors.underline-i3-unfocused}
;label-unfocused-padding = ${module/bspwm.label-occupied-padding} ;label-unfocused-padding = ${module/bspwm.label-occupied-padding}
label-unfocused-padding = 2 label-unfocused-padding = 2
@ -278,17 +287,17 @@ label-visible = %icon% %name%
;label-visible-background = ${self.label-focused-background} ;label-visible-background = ${self.label-focused-background}
;label-visible-underline = ${self.label-focused-underline} ;label-visible-underline = ${self.label-focused-underline}
;label-visible-padding = ${self.label-focused-padding} ;label-visible-padding = ${self.label-focused-padding}
label-visible-background = ${colors.col12} label-visible-background = ${colors.light2}
label-visible-foreground = ${colors.gruvbghard} label-visible-foreground = ${colors.dark0_hard}
label-visible-underline = #FFFFFF ;label-visible-underline = #FFFFFF
label-visible-padding = 2 label-visible-padding = 2
; urgent = Workspace with urgency hint set ; urgent = Workspace with urgency hint set
label-urgent = %icon% %name% label-urgent = %icon% %name%
; label-urgent-background = ${module/bspwm.label-urgent-background} ; label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-background = ${colors.col1} label-urgent-background = ${colors.light0}
label-urgent-foreground = ${colors.col9} label-urgent-foreground = ${colors.bright_orange}
label-urgent-underline = ${colors.col9} ;label-urgent-underline = ${colors.bright_orange}
label-urgent-padding = 2 label-urgent-padding = 2
; Separator in between workspaces ; Separator in between workspaces
@ -314,8 +323,8 @@ type = internal/xbacklight
format = <label> <bar> format = <label> <bar>
label =  label = 
; format-underline = ${colors.foreground-alt} ; format-underline = ${colors.bright_green}
format-underline = ${colors.col6} ;format-underline = ${colors.col6}
format-prefix-foreground = ${colors.underline-cpu} format-prefix-foreground = ${colors.underline-cpu}
bar-width = 10 bar-width = 10
@ -360,25 +369,25 @@ label = %percentage-cores%
type = internal/memory type = internal/memory
interval = 2 interval = 2
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.icon-color} format-prefix-foreground = ${colors.bright_blue}
;format-underline = #4bffdc ;format-underline = #4bffdc
format-underline = ${colors.underline-memory} ;format-underline = ${colors.underline-memory}
label = %percentage_used%% label = %percentage_used%%
[module/updates-arch] [module/updates-arch]
type = custom/script type = custom/script
exec = ~/.config/polybar/polybar-scripts/polybar-scripts/updates-arch/updates-arch.sh exec = ~/.config/polybar/polybar-scripts/polybar-scripts/updates-arch/updates-arch.sh
format-prefix = " " format-prefix = " "
format-prefix-foreground = ${colors.icon-color} format-prefix-foreground = ${colors.bright_blue}
format-underline = ${colors.col13} format-underline = ${colors.light3}
interval = 600 interval = 600
label = "%output%" label = "%output%"
[module/reboot-check] [module/reboot-check]
type = custom/script type = custom/script
exec = ~/bin/reboot.check exec = ~/bin/reboot.check
format-underline = ${colors.col1} format-underline = ${colors.light0}
format-foreground = ${colors.col1} format-foreground = ${colors.light0}
interval = 30 interval = 30
label = "" label = ""
@ -388,41 +397,57 @@ interface = wifi0
interval = 3.0 interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
format-connected-underline = ${colors.icon-color} ;format-connected-underline = ${colors.bright_blue}
;label-connected = %{A1:networkmanager_dmenu:}%essid%%{A} ;label-connected = %{A1:networkmanager_dmenu:}%essid%%{A}
;   ;  
label-connected = "%{A1:networkmanager_dmenu:}%essid%%{A} %downspeed:3% %upspeed:3%" label-connected = "%{A1:networkmanager_dmenu:}%essid%%{A} test  %downspeed:3% %upspeed:3%"
format-disconnected = format-disconnected =
;format-disconnected = <label-disconnected> ;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline} ;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected ;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt} ;label-disconnected-foreground = ${colors.bright_green}
; label that differs in signal strength
ramp-signal-0 =  ramp-signal-0 = 
ramp-signal-1 =  ramp-signal-1 = 
ramp-signal-2 =  ramp-signal-2 = 
ramp-signal-3 =  ramp-signal-3 = 
ramp-signal-4 =  ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt} ramp-signal-foreground = ${colors.bright_green}
[module/net1] ; Accumulate values from all interfaces
; when querying for up/downspeed rate
; Default: false
accumulate-stats = false
; Consider an `UNKNOWN` interface state as up.
; Some devices like USB network adapters have
; an unknown state, even when they're running
; Default: false
unknown-as-up = false
[module/net]
type = internal/network type = internal/network
{{- if eq .chezmoi.hostname "carbonraptor" }}
interface = net0
{{ else if eq .chezmoi.hostname "raptorjesus" }}
interface = net1 interface = net1
{{- end }}
interval = 3.0 interval = 3.0
format-connected-underline = #55aa55 format-connected-underline = #55aa55
format-connected-prefix = " " format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.icon-color} format-connected-prefix-foreground = ${colors.bright_blue}
;label-connected = %local_ip% ;label-connected = %local_ip%
label-connected = "%downspeed:3% %upspeed:3%" label-connected = "%downspeed:3% %upspeed:3%"
label-connected-foreground = ${colors.foreground} label-connected-foreground = ${colors.light0_hard}
format-disconnected = format-disconnected =
;format-disconnected = <label-disconnected> format-disconnected-prefix-foreground = ${colors.bright_blue}
;format-disconnected-underline = ${self.format-connected-underline} ;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected ;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt} ;label-disconnected-foreground = ${colors.bright_green}
[module/date] [module/date]
type = internal/date type = internal/date
@ -435,7 +460,7 @@ time = %H:%M:%S
time-alt = %H:%M time-alt = %H:%M
format-prefix = "" format-prefix = ""
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.bright_green}
;format-underline = #0a6cf5 ;format-underline = #0a6cf5
;format-underline = ${colors.underline-date} ;format-underline = ${colors.underline-date}
@ -451,7 +476,7 @@ label-volume-foreground = ${root.foreground}
; the muted symbol comes from siji font (check the 'view.sh' script for altcodes) ; the muted symbol comes from siji font (check the 'view.sh' script for altcodes)
label-muted =  muted label-muted =  muted
;label-muted-foreground = #66 ;label-muted-foreground = #66
label-muted-foreground = ${colors.alert} label-muted-foreground = ${colors.bright_red}
bar-volume-width = 10 bar-volume-width = 10
bar-volume-foreground-0 = #55aa55 bar-volume-foreground-0 = #55aa55
@ -468,7 +493,7 @@ bar-volume-fill = ─
bar-volume-fill-font = 2 bar-volume-fill-font = 2
bar-volume-empty = ─ bar-volume-empty = ─
bar-volume-empty-font = 2 bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt} bar-volume-empty-foreground = ${colors.bright_green}
[module/alsa] [module/alsa]
type = internal/alsa type = internal/alsa
@ -478,7 +503,7 @@ label-volume = VOL
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
format-muted-prefix = " " format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt} format-muted-foreground = ${colors.bright_green}
label-muted = sound muted label-muted = sound muted
bar-volume-width = 10 bar-volume-width = 10
@ -496,7 +521,7 @@ bar-volume-fill = ─
bar-volume-fill-font = 2 bar-volume-fill-font = 2
bar-volume-empty = ─ bar-volume-empty = ─
bar-volume-empty-font = 2 bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt} bar-volume-empty-foreground = ${colors.bright_green}
[module/battery] [module/battery]
type = internal/battery type = internal/battery
@ -514,25 +539,25 @@ format-charging-underline = ${colors.underline-battery}
label-discharging =  %time% %percentage%% label-discharging =  %time% %percentage%%
format-discharging = <ramp-capacity> <label-discharging> format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline} ;format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " " format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt} format-full-prefix-foreground = ${colors.bright_green}
format-full-underline = ${self.format-charging-underline} ;format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 =  ramp-capacity-0 = 
ramp-capacity-1 =  ramp-capacity-1 = 
ramp-capacity-2 =  ramp-capacity-2 = 
ramp-capacity-3 =  ramp-capacity-3 = 
ramp-capacity-4 =  ramp-capacity-4 = 
ramp-capacity-foreground = ${colors.foreground-alt} ramp-capacity-foreground = ${colors.bright_green}
animation-charging-0 =  animation-charging-0 = 
animation-charging-1 =  animation-charging-1 = 
animation-charging-2 =  animation-charging-2 = 
animation-charging-3 =  animation-charging-3 = 
animation-charging-4 =  animation-charging-4 = 
animation-charging-foreground = ${colors.foreground-alt} animation-charging-foreground = ${colors.bright_green}
animation-charging-framerate = 750 animation-charging-framerate = 750
[module/temperature] [module/temperature]
@ -541,14 +566,13 @@ thermal-zone = 0
warn-temperature = 60 warn-temperature = 60
format = <ramp> <label> format = <ramp> <label>
;format-underline = #f50a4d ;format-underline = ${colors.bright_green}
format-underline = ${colors.underline-temperature}
format-warn = <ramp> <label-warn> format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline} ;format-warn-underline = ${self.format-underline}
label = %temperature-c% label = %temperature-c%
label-warn = %temperature-c% label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary} label-warn-foreground = ${colors.bright_red}
;found this with following command ;found this with following command
; 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 ; 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
@ -561,18 +585,18 @@ hwmon-path = ${env:CPU_TEMP_PATH:/sys/devices/platform/coretemp.0/hwmon/hwmon5/t
ramp-0 =  ramp-0 = 
ramp-1 =  ramp-1 = 
ramp-2 =  ramp-2 = 
ramp-foreground = ${colors.foreground-alt} ramp-foreground = ${colors.bright_green}
[module/powermenu] [module/powermenu]
type = custom/menu type = custom/menu
expand-right = true expand-right = true
format-spacing = 1 format-spacing = 1
label-open = ⏻ label-open = ⏻
label-open-foreground = ${colors.secondary} label-open-foreground = ${colors.neutral_blue}
label-close = " back" label-close = " back"
label-close-foreground = ${colors.secondary} label-close-foreground = ${colors.neutral_blue}
label-separator = | label-separator = |
label-separator-foreground = ${colors.foreground-alt} label-separator-foreground = ${colors.bright_green}
menu-0-0 = reboot menu-0-0 = reboot
menu-0-0-exec = menu-open-1 menu-0-0-exec = menu-open-1