Extract omarchy-toggle-enabled and use this with the waybar to persist

This commit is contained in:
David Heinemeier Hansson committed 2026-04-17 15:45:44 +02:00
1 parent 71bbcc8adc
commit db52ba346c
6 files changed
+18 -10

No files matched your search

+5
View File
@@ -1,5 +1,10 @@
#!/bin/bash
omarchy-toggle \
--enabled-notification " Bar hidden" \
--disabled-notification " Bar visible" \
waybar-off
if pgrep -x waybar >/dev/null; then
pkill -x waybar
else