[*] Multiple new configs

This commit is contained in:
2026-03-31 15:43:26 +02:00
parent dbebcef215
commit 819959b395
29 changed files with 6930 additions and 229 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/bin/bash
BASH_ARGV0="kwm_bar"
rm -f /tmp/bar
mkfifo /tmp/bar
exec 1<>/tmp/bar
while true; do
# brightness="$(($(cat /sys/class/backlight/amdgpu_bl1/brightness) * 100 / $(cat /sys/class/backlight/amdgpu_bl1/max_brightness)))"
battery="$(cat /sys/class/power_supply/BAT0/capacity)"
time="$(date +%R)"
vol="$(pamixer --get-volume-human)"
if ! playback="$(playerctl metadata -f '🎵 {{xesam:title}} - {{xesam:artist}} | ')"; then
playback=''
fi
vol_icon='V:'
# brightness_icon='B:'
battery_icon='🔋'
echo "$playback$vol_icon $vol | $battery_icon$battery% | $time" >/tmp/bar
sleep 1
done
File diff suppressed because it is too large Load Diff