added quickshell and updated zsh

This commit is contained in:
2026-08-17 23:16:05 -07:00
parent 9bca669f4e
commit 1f3dde6de2
55 changed files with 4251 additions and 381 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Read brightness
percent=100
if command -v brightnessctl &>/dev/null; then
percent=$(brightnessctl -m 2>/dev/null | cut -d, -f4 | tr -d '%' | head -n 1)
if [ -z "$percent" ]; then
percent=100
fi
fi
echo "{\"brightness\": ${percent:-100}}"