Drag the bar to move it, drop the config panel

Position the bar by dragging (or click-and-holding) empty bar space
toward a screen edge, with a ghost slab previewing the target edge.
With drag for position and double-click for transparency, the bar
config panel, its inline gear button, and the omarchy-launch-bar-settings
CLI are no longer needed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-18 11:44:35 -07:00
co-authored by Claude Fable 5
parent 66cdec78c2
commit 9aa1dcd664
11 changed files with 221 additions and 394 deletions
+1 -6
View File
@@ -2,7 +2,7 @@
# omarchy:summary=Set the active bar option, position, and transparency
# omarchy:group=bar
# omarchy:args=use <id> | reset | defaults | position <top|bottom|left|right> | transparent <true|false> | settings
# omarchy:args=use <id> | reset | defaults | position <top|bottom|left|right> | transparent <true|false>
# omarchy:examples=omarchy bar use local.neon-bar | omarchy bar reset | omarchy bar defaults | omarchy bar position top | omarchy bar transparent true
set -euo pipefail
@@ -20,7 +20,6 @@ Usage: omarchy bar <command> [args...]
defaults Restore the default bar and service widgets
position <top|bottom|left|right> Bar position
transparent <true|false> Bar transparency
settings Open the inline bar config panel
Bar widgets are added, moved, removed, and configured with 'omarchy bar plugin'.
@@ -168,10 +167,6 @@ case "$command" in
transparent)
cmd_transparent "$@"
;;
settings)
(( $# == 0 )) || fail "settings does not take arguments"
exec omarchy-launch-bar-settings
;;
plugin)
exec omarchy-bar-plugin "$@"
;;
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
# omarchy:summary=Open the Omarchy bar config panel
exec omarchy-shell shell openBarConfig
-1
View File
@@ -29,7 +29,6 @@ Options:
Examples:
omarchy-shell shell ping
omarchy-shell shell openBarConfig
omarchy-shell -q Indicators refresh
omarchy-shell shell listPlugins
omarchy-shell shell toggle omarchy.menu '{"menu":"root"}'