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

+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
# Check if a toggle is enabled (flag file exists)
[[ -f "$HOME/.local/state/omarchy/toggles/$1" ]]