Minimal i3 setup

This commit is contained in:
Fabio Scotto di Santolo
2026-03-15 22:00:35 +01:00
parent f8b6d4c502
commit 31c17c95c1
33 changed files with 1034 additions and 52 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
cur="$(brightnessctl g 2>/dev/null)"
max="$(brightnessctl m 2>/dev/null)"
[ -n "$cur" ] || exit 0
[ -n "$max" ] || exit 0
[ "$max" -gt 0 ] || exit 0
pct=$((100 * cur / max))
echo "BL ${pct}%"
echo "BL ${pct}%"
echo "#6daeea"