260 lines
6.4 KiB
INI
260 lines
6.4 KiB
INI
[global/wm]
|
|
monitor-allow-redirect = true
|
|
|
|
[bar/top-monitor-1]
|
|
monitor = HDMI-A-0
|
|
font-0 = HanaMinA Regular:size=10;1
|
|
|
|
pseudo-transparency = true
|
|
|
|
|
|
background = #2e3440
|
|
foreground = #eceff4
|
|
|
|
modules-left = temperature
|
|
modules-center = title
|
|
modules-right = date
|
|
|
|
[module/date]
|
|
type = custom/script
|
|
exec = ~/.local/bin/date.sh
|
|
interval = 1
|
|
label = %output%
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
|
|
; Seconds to sleep between updates
|
|
; Default: 1
|
|
interval = 3
|
|
|
|
; Default: 90
|
|
; New in version 3.6.0
|
|
warn-percentage = 95
|
|
|
|
; Available tags:
|
|
; <label> (default)
|
|
; <bar-used>
|
|
; <bar-free>
|
|
; <ramp-used>
|
|
; <ramp-free>
|
|
; <bar-swap-used>
|
|
; <bar-swap-free>
|
|
; <ramp-swap-used>
|
|
; <ramp-swap-free>
|
|
format = <label>
|
|
|
|
; Format used when RAM reaches warn-percentage
|
|
; If not defined, format is used instead.
|
|
; Available tags:
|
|
; <label-warn>
|
|
; <bar-used>
|
|
; <bar-free>
|
|
; <ramp-used>
|
|
; <ramp-free>
|
|
; <bar-swap-used>
|
|
; <bar-swap-free>
|
|
; <ramp-swap-used>
|
|
; <ramp-swap-free>
|
|
; New in version 3.6.0
|
|
;format-warn = <label-warn>
|
|
|
|
; Available tokens:
|
|
; %percentage_used% (default)
|
|
; %percentage_free%
|
|
; %used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %gb_used%
|
|
; %gb_free%
|
|
; %gb_total%
|
|
; %mb_used%
|
|
; %mb_free%
|
|
; %mb_total%
|
|
; %percentage_swap_used%
|
|
; %percentage_swap_free%
|
|
; %swap_total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %swap_free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %swap_used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %gb_swap_total%
|
|
; %gb_swap_free%
|
|
; %gb_swap_used%
|
|
; %mb_swap_total%
|
|
; %mb_swap_free%
|
|
; %mb_swap_used%
|
|
label = RAM %gb_used%
|
|
|
|
; Available tokens:
|
|
; %percentage_used% (default)
|
|
; %percentage_free%
|
|
; %used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %gb_used%
|
|
; %gb_free%
|
|
; %gb_total%
|
|
; %mb_used%
|
|
; %mb_free%
|
|
; %mb_total%
|
|
; %percentage_swap_used%
|
|
; %percentage_swap_free%
|
|
; %swap_total% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %swap_free% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %swap_used% (Switches between KiB, MiB, and GiB) (New in version 3.6.0)
|
|
; %gb_swap_total%
|
|
; %gb_swap_free%
|
|
; %gb_swap_used%
|
|
; %mb_swap_total%
|
|
; %mb_swap_free%
|
|
; %mb_swap_used%
|
|
; New in version 3.6.0
|
|
label-warn = RAM %gb_used%/%gb_free%
|
|
|
|
; Only applies if <bar-used> is used
|
|
bar-used-indicator =
|
|
bar-used-width = 50
|
|
bar-used-foreground-0 = #55aa55
|
|
bar-used-foreground-1 = #557755
|
|
bar-used-foreground-2 = #f5a70a
|
|
bar-used-foreground-3 = #ff5555
|
|
bar-used-fill = ▐
|
|
bar-used-empty = ▐
|
|
bar-used-empty-foreground = #444444
|
|
|
|
; Only applies if <ramp-used> is used
|
|
ramp-used-0 = ▁
|
|
ramp-used-1 = ▂
|
|
ramp-used-2 = ▃
|
|
ramp-used-3 = ▄
|
|
ramp-used-4 = ▅
|
|
ramp-used-5 = ▆
|
|
ramp-used-6 = ▇
|
|
ramp-used-7 = █
|
|
|
|
; Only applies if <ramp-free> is used
|
|
ramp-free-0 = ▁
|
|
ramp-free-1 = ▂
|
|
ramp-free-2 = ▃
|
|
ramp-free-3 = ▄
|
|
ramp-free-4 = ▅
|
|
ramp-free-5 = ▆
|
|
ramp-free-6 = ▇
|
|
ramp-free-7 = █
|
|
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
format = <label> <ramp-coreload>
|
|
label = %percentage%%
|
|
label-warn = CPU %percentage%%
|
|
ramp-coreload-spacing = 1
|
|
ramp-coreload-0 = ▁
|
|
ramp-coreload-1 = ▂
|
|
ramp-coreload-2 = ▃
|
|
ramp-coreload-3 = ▄
|
|
ramp-coreload-4 = ▅
|
|
ramp-coreload-5 = ▆
|
|
ramp-coreload-6 = ▇
|
|
ramp-coreload-7 = █
|
|
; Seconds to sleep between updates
|
|
; Default: 1
|
|
interval = 0.5
|
|
|
|
[module/temperature]
|
|
type = internal/temperature
|
|
|
|
; Seconds to sleep between updates
|
|
; Default: 1
|
|
interval = 0.5
|
|
|
|
; Thermal zone to use
|
|
; 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
|
|
|
|
; Select thermal zone by name
|
|
; The name has to match the contents of /sys/class/thermal/thermal_zone*/type
|
|
; for the desired thermal zone.
|
|
; New in version 3.7.0
|
|
; Default: ""
|
|
zone-type = x86_pkg_temp
|
|
|
|
; Full path of temperature sysfs path
|
|
; Use `sensors` to find preferred temperature source, then run
|
|
; $ 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/hwmon2/temp1_input
|
|
|
|
; Base temperature for where to start the ramp (in degrees celsius)
|
|
; Default: 0
|
|
base-temperature = 20
|
|
|
|
; Threshold temperature to display warning label (in degrees celsius)
|
|
; Default: 80
|
|
warn-temperature = 60
|
|
|
|
; Whether or not to show units next to the temperature tokens (°C, °F)
|
|
; Default: true
|
|
units = false
|
|
|
|
; Available tags:
|
|
; <label> (default)
|
|
; <ramp>
|
|
format = <ramp> <label>
|
|
|
|
; Available tags:
|
|
; <label-warn> (default)
|
|
; <ramp>
|
|
format-warn = <ramp> <label-warn>
|
|
|
|
; Available tokens:
|
|
; %temperature% (deprecated)
|
|
; %temperature-c% (default, temperature in °C)
|
|
; %temperature-f% (temperature in °F)
|
|
; %temperature-k% (temperature in Kelvin, new in version 3.7.0)
|
|
label = %temperature-c% °C
|
|
|
|
; Available tokens:
|
|
; %temperature% (deprecated)
|
|
; %temperature-c% (default, temperature in °C)
|
|
; %temperature-f% (temperature in °F)
|
|
; %temperature-k% (temperature in Kelvin, new in version 3.7.0)
|
|
label-warn = %temperature-c% °C
|
|
label-warn-foreground = #f00
|
|
|
|
; Requires the <ramp> tag
|
|
; The icon selection will range from `base-temperature` to `warn-temperature`,
|
|
; temperatures at and above `warn-temperature` will use the last icon
|
|
; and temperatures at and below `base-temperature` will use `ramp-0`.
|
|
; All other icons are distributed evenly between the two temperatures.
|
|
ramp-0 = A
|
|
ramp-1 = B
|
|
ramp-2 = C
|
|
ramp-foreground = #55
|
|
|
|
[module/title]
|
|
type = internal/xwindow
|
|
|
|
; Available tags:
|
|
; <label> (default)
|
|
format = <label>
|
|
format-background = #add8e6 ; Pale Cyan color
|
|
format-foreground = #000 ; Black text
|
|
format-padding = 4
|
|
|
|
; Available tokens:
|
|
; %title%
|
|
; %instance% (first part of the WM_CLASS atom, new in version 3.7.0)
|
|
; %class% (second part of the WM_CLASS atom, new in version 3.7.0)
|
|
; Default: %title%
|
|
label = %title%
|
|
label-maxlen = 50
|
|
|
|
; Used instead of label when there is no window title
|
|
; Available tokens:
|
|
; None
|
|
label-empty = Empty
|
|
label-empty-foreground = #707880
|