135 lines
3.5 KiB
INI
135 lines
3.5 KiB
INI
[module/i3]
|
|
type = internal/i3
|
|
pin-workspaces = true
|
|
show-urgent = true
|
|
wrapping = false
|
|
format = <label-state> <label-mode>
|
|
label-mode = %mode%
|
|
label-mode-padding = 1
|
|
label-mode-background = ${colors.primary}
|
|
label-mode-foreground = ${colors.foreground}
|
|
label-focused = %name%
|
|
label-focused-background = ${colors.background-alt}
|
|
label-focused-underline = ${colors.primary}
|
|
label-focused-padding = 1
|
|
label-unfocused = %name%
|
|
label-unfocused-padding = 1
|
|
label-visible = %index%
|
|
label-visible-underline = ${colors.secondary}
|
|
label-visible-padding = 1
|
|
label-urgent = %name%
|
|
label-urgent-background = ${colors.urgent}
|
|
label-urgent-padding = 1
|
|
|
|
[module/systray]
|
|
type = internal/tray
|
|
tray-spacing = 10px
|
|
tray-padding = 0px
|
|
tray-size = 45%
|
|
|
|
[module/filesystem]
|
|
type = internal/fs
|
|
interval = 25
|
|
mount-0 = /
|
|
warn-percentage = 90
|
|
label-mounted = %free%
|
|
label-warn = %free%
|
|
label-unmounted = %mountpoint% not mounted
|
|
label-unmounted-foreground = ${colors.disabled}
|
|
format-mounted = <label-mounted>
|
|
format-mounted-prefix = "/: "
|
|
format-mounted-prefix-foreground = ${colors.primary}
|
|
format-warn = <label-warn>
|
|
format-warn-prefix = "root: "
|
|
format-warn-prefix-foreground = ${colors.primary}
|
|
format-warn-foreground = ${colors.alert}
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
label-volume = %percentage%%
|
|
label-muted = muted
|
|
label-muted-foreground = ${colors.disabled}
|
|
format-volume-prefix = "vol: "
|
|
format-volume-prefix-foreground = ${colors.primary}
|
|
format-volume = <label-volume>
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
label-layout = %layout%
|
|
label-layout-foreground = ${colors.primary}
|
|
label-indicator-on-capslock = "caps+"
|
|
label-indicator-on-numlock = "num+"
|
|
label-indicator-padding = 2
|
|
label-indicator-margin = 1
|
|
label-indicator-foreground = ${colors.background}
|
|
label-indicator-background = ${colors.secondary}
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
warn-percentage = 90
|
|
label = %percentage_used%%
|
|
label-warn = %percentage_used%%
|
|
format = <label>
|
|
format-prefix = "ram: "
|
|
format-prefix-foreground = ${colors.primary}
|
|
format-warn = <label-warn>
|
|
format-warn-foreground = ${colors.alert}
|
|
format-warn-prefix = "ram: "
|
|
format-warn-prefix-foreground = ${colors.primary}
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 0.5
|
|
warn-percentage = 90
|
|
label = %percentage%%
|
|
label-warn = %percentage%%
|
|
format = <label>
|
|
format-prefix = "cpu: "
|
|
format-prefix-foreground = ${colors.primary}
|
|
format-warn = <label-warn>
|
|
format-warn-foreground = ${colors.alert}
|
|
format-warn-prefix = "cpu: "
|
|
format-warn-prefix-foreground = ${colors.primary}
|
|
|
|
[date-base]
|
|
type = internal/date
|
|
interval = 1
|
|
label = %date%
|
|
label-foreground = ${colors.primary}
|
|
|
|
[module/time]
|
|
inherit = date-base
|
|
date = %H:%M
|
|
|
|
[module/date]
|
|
inherit = date-base
|
|
date = %A, %d %b
|
|
|
|
[module/temperature]
|
|
type = internal/temperature
|
|
interval = 1
|
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
|
|
warn-temperature = 80
|
|
label = %temperature-c%
|
|
label-warn = %temperature-c%
|
|
format = <label>
|
|
format-prefix = "cpu temp: "
|
|
format-prefix-foreground = ${colors.primary}
|
|
format-warn = <label-warn>
|
|
format-warn-prefix = "cpu temp: "
|
|
format-warn-prefix-foreground = ${colors.primary}
|
|
format-warn-foreground = ${colors.alert}
|
|
|
|
[module/nvidia]
|
|
type = custom/script
|
|
interval = 2
|
|
exec = TEMP=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits); echo "$TEMP°C"; [ $TEMP -lt 80 ]
|
|
label-fail = %output%
|
|
format = <label>
|
|
format-prefix = "gpu temp: "
|
|
format-prefix-foreground = ${colors.primary}
|
|
format-fail = <label-fail>
|
|
format-fail-prefix = "gpu temp: "
|
|
format-fail-prefix-foreground = ${colors.primary}
|
|
format-fail-foreground = ${colors.alert} |