Add omarchy CLI (#5477)

* Add omarchy CLI

* Remove outdated or internal

* Add bash completions for command

* Add omarchy command documentation

* Add missing docs

* Correct to what's now right

* Fix tests

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Ryan Hughes
2026-05-01 17:40:22 +02:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent cdb9694360
commit d2a4cc0c4d
242 changed files with 2032 additions and 289 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Returns true if AC power is connected.
# omarchy:summary=Returns true if AC power is connected.
for ac in /sys/class/power_supply/AC* /sys/class/power_supply/ADP*; do
[[ -r $ac/online && $(cat "$ac/online") == "1" ]] && exit 0