Open the agent in a normal tiled window (#6769)
The floating rule pinned every agent terminal to 1200x800, which overflows small and scaled displays: window rules see logical pixels, so a 2560x1440 monitor at scale 1.6 is only 1600x900 and the window covered 89% of its height. Tiling drops the fixed size along with the rule, and the shared app-id still earns the terminal tag from terminals.lua.
This commit is contained in:
+1
-1
@@ -100,6 +100,6 @@ if [[ $inline == "true" ]]; then
|
||||
exec "${command[@]}"
|
||||
else
|
||||
# A fixed app-id rather than the default org.omarchy.<binary>, so every agent
|
||||
# window shares one class for default/hypr/apps/agent.lua to float.
|
||||
# window shares one class for window rules and themes to single out.
|
||||
exec omarchy-launch-tui --app-id=org.omarchy.agent "${command[@]}"
|
||||
fi
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
-- omarchy-agent gives every agent terminal the same app-id, so this
|
||||
-- floats the keybinding, the menu, and a crash diagnosis alike.
|
||||
o.window("org\\.omarchy\\.agent", { float = true, center = true, size = { 1200, 800 } })
|
||||
@@ -316,7 +316,7 @@ assert_launched() {
|
||||
local description=$2
|
||||
shift 2
|
||||
# Every agent window launches under the same app-id, whichever agent is
|
||||
# default, so default/hypr/apps/agent.lua can float them all.
|
||||
# default, so window rules and themes see one class for all of them.
|
||||
local expected=(--app-id=org.omarchy.agent "$@")
|
||||
|
||||
mapfile -d '' -t actual <"$launch_log"
|
||||
|
||||
Reference in New Issue
Block a user