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

This commit is contained in:
David Heinemeier Hansson
2026-04-17 15:45:44 +02:00
parent 71bbcc8adc
commit db52ba346c
6 changed files with 18 additions and 10 deletions
+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" ]]