Extract indicators bar widget

This commit is contained in:
David Heinemeier Hansson
2026-05-20 18:32:00 +02:00
parent 1e63e86133
commit cf4729ca2b
16 changed files with 470 additions and 455 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ stop_screenrecording() {
}
toggle_screenrecording_indicator() {
omarchy-shell -q bar refreshScreenRecording
omarchy-shell -q indicators refresh
}
screenrecording_active() {
+1 -1
View File
@@ -24,7 +24,7 @@ Options:
Examples:
omarchy-shell shell ping
omarchy-shell shell summon omarchy.settings "{}"
omarchy-shell -q bar refreshIndicators
omarchy-shell -q indicators refresh
omarchy-shell shell listPlugins
omarchy-shell menu toggle root
USAGE
+1 -1
View File
@@ -3,4 +3,4 @@
# omarchy:summary=Toggle idle behavior so the system either idles normally or stays awake
omarchy-shell idle toggle
omarchy-shell -q bar refreshIndicators
omarchy-shell -q indicators refresh
+1 -1
View File
@@ -45,4 +45,4 @@ else
hyprctl hyprsunset temperature $OFF_TEMP
fi
omarchy-shell -q bar refreshIndicators >/dev/null 2>&1 || true
omarchy-shell -q indicators refresh >/dev/null 2>&1 || true
+1 -1
View File
@@ -3,4 +3,4 @@
# omarchy:summary=Toggle notification do-not-disturb mode
state=$(omarchy-shell notifications toggleDnd 2>/dev/null || echo "")
omarchy-shell -q bar refreshIndicators
omarchy-shell -q indicators refresh