Extract omarchy-swayosd-client

So we don't have to manually compose it every time
This commit is contained in:
David Heinemeier Hansson committed 2026-04-22 13:04:30 +02:00
1 parent ed9ecccb21
commit edf7067797
8 files changed
+20 -27

No files matched your search

+1 -2
View File
@@ -8,8 +8,7 @@ percent="$1"
progress="$(awk -v p="$percent" 'BEGIN{printf "%.2f", p/100}')"
[[ $progress == "0.00" ]] && progress="0.01"
swayosd-client \
--monitor "$(omarchy-hyprland-monitor-focused)" \
omarchy-swayosd-client \
--custom-icon display-brightness \
--custom-progress "$progress" \
--custom-progress-text "${percent}%"