updated monocle bar and added wayshell framework with some modules.

This commit is contained in:
2026-06-27 17:35:39 +02:00
parent 79b45ab123
commit 66065960cf
43 changed files with 2163 additions and 97 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
BAR_WIDTH=24
get_brightness() {
brightnessctl -m 2>/dev/null | cut -d, -f4 | tr -d '%'
}
pct=$(get_brightness)
[[ -z "$pct" ]] && pct=0
filled=$(( pct * BAR_WIDTH / 100 ))
empty=$(( BAR_WIDTH - filled ))
for ((i=0; i<filled; i++)); do printf "█"; done
for ((i=0; i<empty; i++)); do printf "░"; done
printf "\n"