add settings for sway

This commit is contained in:
nnduc
2025-07-21 15:43:56 +07:00
parent dd33bc658f
commit 74a529e5bd
8 changed files with 177 additions and 147 deletions

View File

@@ -119,20 +119,18 @@ label-foreground = ${colors.altprime}
[module/battery]
type = internal/battery
full-at = 99
low-at = 15
low-at = 5
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = BAT0
adapter = AC
time-format = %H:%M
label-charging = %percentage%%
label-discharging = %percentage%%
format-charging = <animation-charging> <label-charging>
label-charging = Charging %percentage%%
label-discharging = Discharging %percentage%%
format-charging = <animation-charging> <lavel-charging>
format-discharging = <ramp-capacity> <label-discharging>
;label-full = Fully charged
label-full =
label-full = Fully charged
label-low = BATTERY LOW
; Only applies if <ramp-capacity> is used

View File

@@ -5,7 +5,7 @@
display_duration=7.0
# Maximum number of characters:
char_limit=150
char_limit=120
# Stop old tiramisu processes if any:
pgrep -x tiramisu >/dev/null && killall tiramisu