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
+2 -4
View File
@@ -1,9 +1,7 @@
#!/bin/bash
# Set the power profile to the requested level, falling back to balanced
# if the requested profile isn't available on this machine.
#
# Usage: omarchy-powerprofiles-set <ac|battery>
# omarchy:summary=Set the power profile to the requested level, falling back to balanced
# omarchy:args=<ac|battery>
mapfile -t profiles < <(powerprofilesctl list | awk '/^\s*[* ]\s*[a-zA-Z0-9\-]+:$/ { gsub(/^[*[:space:]]+|:$/,""); print }')