misc. maintenance (battery menu in polybar and disown sxhkd

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-06-08 22:43:15 +02:00
parent 1118865fa7
commit 6e12645a76
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#! /bin/bash
# Autostart
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x sxhkd > /dev/null || sxhkd & disown
xrdb -load $HOME/.config/.Xresources &
dunst -conf $HOME/.config/dunst/dunstrc &
picom --experimental-backends &

View File

@ -191,11 +191,15 @@ format-muted-underline = #98c379
label-muted-foreground = #666
[module/battery]
# https://gitlab.com/polybar/polybar/-/wikis/Module:-battery
type = internal/battery
battery = BAT0
adapter = AC
full-at = 95
label-discharging = %percentage%%
label-charging = %percentage%%
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a