363 lines
7.4 KiB
INI
363 lines
7.4 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.foreground-alt}
|
|
ramp-volume-1 =
|
|
ramp-volume-1-foreground = ${colors.foreground-alt}
|
|
ramp-volume-2 =
|
|
ramp-volume-2-foreground = ${colors.alert-foreground}
|
|
|
|
label-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-time]
|
|
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/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%
|
|
|
|
label-margin = 0
|
|
label-foreground = ${colors.foreground}
|
|
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
[module/time]
|
|
type = internal/date
|
|
interval = 1
|
|
|
|
date = %e %B %Y
|
|
date-alt = %e %B %Y
|
|
time = %H:%M
|
|
time-alt = %H:%M:%S
|
|
|
|
label = %time%
|
|
|
|
label-margin = 0
|
|
label-foreground = ${colors.foreground}
|
|
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
[module/turbo/backlight]
|
|
type = internal/backlight
|
|
|
|
format = <ramp> <label>
|
|
|
|
# Don't use the file 'actual-brightness' and use 'brightness' instead
|
|
use-actual-brightness = false
|
|
poll-interval = 1
|
|
|
|
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}
|
|
|
|
# Core temperature: Package id 0
|
|
[module/piston/temperature/pkg]
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path =/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
|
|
|
|
base-temperature = 28
|
|
warn-temperature = 75
|
|
|
|
format = <ramp> <label>
|
|
format-warn = <ramp> <label-warn>
|
|
format-foreground = ${colors.alert-foreground}
|
|
|
|
label = %temperature-c%
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
ramp-2-foreground = ${colors.aalert-foreground}
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
# Core temperature: Core 0
|
|
[module/piston/temperature/core0]
|
|
#type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
|
|
|
|
base-temperature = 25
|
|
warn-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}
|
|
|
|
# Core temperature : Core 1
|
|
[module/piston/temperature/core1]
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
|
|
|
|
base-temperature = 25
|
|
warn-temperature = 65
|
|
|
|
format = <ramp> <label>
|
|
format-warn = <ramp> <label-warn>
|
|
format-foreground = ${colors.alert-foreground}
|
|
|
|
label = %temperature-c%
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
[module/piston/temperature/core2]
|
|
# Core temperature: Core 2 /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp4_input
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path =
|
|
|
|
base-temperature = 25
|
|
warn-temperature = 65
|
|
|
|
format = <ramp> <label>
|
|
format-warn = <ramp> <label-warn>
|
|
format-foreground = ${colors.alert-foreground}
|
|
|
|
label = %temperature-c%
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
# Core temperature: Core 3
|
|
[module/piston/temperature/core3]
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp5_input
|
|
|
|
base-temperature = 25
|
|
warn-temperature = 65
|
|
|
|
format = <ramp> <label>
|
|
format-warn = <ramp> <label-warn>
|
|
format-foreground = ${colors.alert-foreground}
|
|
|
|
label = %temperature-c%
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
[module/piston/temperature]
|
|
type = internal/temperature
|
|
|
|
interval = 1.0
|
|
|
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
|
|
|
|
base-temperature = 25
|
|
warn-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
|
|
warn-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}
|
|
|
|
label-charging = %percentage%% - %consumption%W
|
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
|
|
label-discharging = %percentage%% - %consumption%W
|
|
|
|
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
|