better ethui-dev rules

This commit is contained in:
Miguel Palhas
2025-10-08 11:52:41 +01:00
parent ebfba09c8d
commit b431113faf
2 changed files with 13 additions and 6 deletions
+3 -2
View File
@@ -35,8 +35,9 @@
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
# ethui-dev
"workspace 1, class:ethui"
"noinitialfocus, class:ethui"
"workspace 1, title:ethui-dev.*"
"noinitialfocus, title:ethui-dev.*"
"float, title:ethui-dev - dialog.*"
"workspace 3 silent, class:bevy-.*"
"noinitialfocus, class:bevy-.*"
+10 -4
View File
@@ -46,15 +46,21 @@ in
for_window [title="^ethui-test - main$"] workspace 2
for_window [title="^ethui-test - main$"] border normal 2, floating enable, resize set 1280 1200, move position 4720 500
for_window [title="^ethui-test - dialog"] border normal 2, floating enable, resize set 800 800, move position mouse
for_window [title="^ethui-test - dialog.*"] border normal 2, floating enable, resize set 800 800, move position mouse
no_focus [title="^ethui-test - main$"]
no_focus [title="^ethui-test - dialog$"]
no_focus [title="^ethui-test - dialog.*"]
for_window [title="^ethui-dev - main$"] workspace 2
for_window [title="^ethui-dev - main$"] border normal 2, floating enable, resize set 1280 1200, move position 4720 500
for_window [title="^ethui-dev - dialog"] border normal 2, floating enable, resize set 800 800, move position mouse
for_window [title="^ethui-dev - dialog.*"] border normal 2, floating enable, resize set 800 800, move position mouse
no_focus [title="^ethui-dev - main$"]
no_focus [title="^ethui-dev - dialog$"]
no_focus [title="^ethui-dev - dialog.*"]
for_window [title="^ethui - main$"] workspace 2
for_window [title="^ethui - main$"] border normal 2, floating enable, resize set 1280 1200, move position 4720 500
for_window [title="^ethui - dialog.*"] border normal 2, floating enable, resize set 800 800, move position mouse
no_focus [title="^ethui - main$"]
no_focus [title="^ethui - dialog.*"]
# for_window [class="^Ethui$"] border normal 2, floating enable, resize set 1280 1200, move position mouse