misc. maintenance (battery menu in polybar and disown sxhkd
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
1118865fa7
commit
6e12645a76
@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
pgrep -x sxhkd > /dev/null || sxhkd & disown
|
||||||
xrdb -load $HOME/.config/.Xresources &
|
xrdb -load $HOME/.config/.Xresources &
|
||||||
dunst -conf $HOME/.config/dunst/dunstrc &
|
dunst -conf $HOME/.config/dunst/dunstrc &
|
||||||
picom --experimental-backends &
|
picom --experimental-backends &
|
||||||
|
@ -191,11 +191,15 @@ format-muted-underline = #98c379
|
|||||||
label-muted-foreground = #666
|
label-muted-foreground = #666
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
|
# https://gitlab.com/polybar/polybar/-/wikis/Module:-battery
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = AC
|
adapter = AC
|
||||||
full-at = 95
|
full-at = 95
|
||||||
|
|
||||||
|
label-discharging = %percentage%%
|
||||||
|
label-charging = %percentage%%
|
||||||
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
format-charging = <animation-charging> <label-charging>
|
||||||
format-charging-underline = #ffb52a
|
format-charging-underline = #ffb52a
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user