220 lines
4.7 KiB
INI
220 lines
4.7 KiB
INI
[module/xworkspaces]
|
|
type = internal/xworkspaces
|
|
|
|
icon-0 = 1;
|
|
icon-1 = 2;
|
|
icon-2 = 3;
|
|
icon-3 = 4;
|
|
icon-4 = 5;
|
|
icon-5 = 6;
|
|
icon-6 = 7;
|
|
icon-7 = 8;
|
|
icon-8 = 9;
|
|
icon-9 = 10;
|
|
icon-default =
|
|
|
|
format = <label-state>
|
|
|
|
label-active = %icon%
|
|
label-active-underline= ${colors.foreground-alt}
|
|
label-active-padding = 1
|
|
|
|
label-occupied = %icon%
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent = %icon%
|
|
label-urgent-background = ${colors.urgent}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty = %icon%
|
|
label-empty-foreground = ${colors.foreground-alt}
|
|
label-empty-padding = 1
|
|
|
|
[module/systray]
|
|
type = internal/tray
|
|
|
|
format-margin = 1pt
|
|
|
|
tray-spacing = 1pt
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
format-volume = <ramp-volume> <label-volume>
|
|
|
|
label-volume = %percentage%%
|
|
|
|
ramp-volume-0 =
|
|
ramp-volume-0-foreground = ${colors.function}
|
|
ramp-volume-1 =
|
|
ramp-volume-1-foreground = ${colors.function}
|
|
ramp-volume-2 =
|
|
ramp-volume-2-foreground = ${colors.alert-foreground}
|
|
|
|
label-muted = muted
|
|
label-muted-foreground = ${colors.alert-foreground}
|
|
label-muted-underline = ${colors.alert-foreground}
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
|
|
blacklist-0 = num lock
|
|
bufferlist-1 = scroll lock
|
|
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
label-layout = %layout%
|
|
|
|
label-indicator-on-capslock = cl
|
|
label-indicator-on-capslock-foreground = ${colors.warning}
|
|
label-indicator-on-capslock-underline = ${colors.warning}
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
label = %percentage_used:2%%
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
label = %percentage:2%%
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1
|
|
|
|
date = %e %B %Y
|
|
date-alt = %e %B %Y
|
|
time = %H:%M
|
|
time-alt = %H:%M:%S
|
|
|
|
label = %date% | %time%
|
|
|
|
label-margin = 0
|
|
label-foreground = ${colors.foreground}
|
|
|
|
format-prefix =
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
format-suffix = " "
|
|
format-suffix-foreground = ${colors.foreground-alt}
|
|
|
|
[module/backlight]
|
|
type = internal/backlight
|
|
|
|
format = <ramp> <label>
|
|
|
|
class = amdgpu_bl1
|
|
|
|
ramp-0 =
|
|
ramp-0-foreground = ${colors.foreground-alt}
|
|
ramp-1 =
|
|
ramp-1-foreground = ${colors.foreground-alt}
|
|
ramp-2 =
|
|
ramp-2-foreground = ${colors.foreground-alt}
|
|
ramp-3 =
|
|
ramp-3-foreground = ${colors.foreground-alt}
|
|
ramp-4 =
|
|
ramp-4-foreground = ${colors.foreground-alt}
|
|
|
|
#coretemp: Package id 0 /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
|
|
#coretemp: Core 0 /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
|
|
#coretemp: Core 1 /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
|
|
#coretemp: Core 2 /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp4_input
|
|
#coretemp: Core 3 /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp5_input
|
|
|
|
[module/piston/temperature]
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
|
|
|
|
base-temperature = 25
|
|
ware-temperature = 65
|
|
|
|
format = <ramp> <label>
|
|
format-warn = <ramp> <label-warn>
|
|
format-foreground = ${colors.alert-foreground}
|
|
|
|
label = %temperature-c%
|
|
#label-warn-foreground = %temperature-c%
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
[module/turbo/temperature]
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path = /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp1_input
|
|
|
|
base-temperature = 25
|
|
ware-temperature = 65
|
|
|
|
format = <ramp> <label>
|
|
format-warn = <ramp> <label-warn>
|
|
format-foreground = ${colors.alert-foreground}
|
|
|
|
label = %temperature-c%
|
|
#label-warn-foreground = %temperature-c%
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
[module/turbo/battery]
|
|
type = internal/battery
|
|
|
|
full-at = 100
|
|
low-at = 15
|
|
|
|
battery = BAT0
|
|
poll-interval = 360
|
|
|
|
format-charging = <label-charging>
|
|
format-charging-prefix = " "
|
|
format-charging-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
|
|
ramp-capacity-foreground = ${colors.foreground-alt}
|
|
ramp-capacity-0 =
|
|
ramp-capacity-1 =
|
|
ramp-capacity-2 =
|
|
ramp-capacity-3 =
|
|
ramp-capacity-4 =
|
|
|
|
format-low = <animation-low> <label-low> <animation-low>
|
|
format-low-foreground = ${colors.alert-foreground}
|
|
format-low-underline = ${colors.urgent}
|
|
animation-low-0 =
|
|
animation-low-1 =
|
|
animation-low-framerate = 650
|
|
|
|
# WIP, not working
|
|
[module/mouse-bat]
|
|
type = internal/battery
|
|
|
|
full-at = 99
|
|
low-at = 5
|
|
|
|
battery = hidpp_battery_0
|
|
|
|
poll-interval = 360
|
|
|
|
# Example, to be adapted
|
|
[module/powermenu]
|
|
type = custom/text
|
|
|
|
format =
|
|
format-background = ${colors.background}
|
|
format-foreground = ${colors.foreground}
|
|
|
|
click-left = ~/.config/rofi/powermenu/type-4/powermenu.sh
|