From 6e12645a76dd1f1e9c01dfd30b81eadf124519d4 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Wed, 8 Jun 2022 22:43:15 +0200 Subject: [PATCH] misc. maintenance (battery menu in polybar and disown sxhkd Signed-off-by: Louis Vallat --- .config/bspwm/bspwmrc | 2 +- .config/polybar/config | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 16735b1..8419da1 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -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 & diff --git a/.config/polybar/config b/.config/polybar/config index d71d78f..4f9bcdb 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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 = format-charging-underline = #ffb52a