50 lines
4.1 KiB
Lua
50 lines
4.1 KiB
Lua
-- CopyQ - float, size, and position
|
|
hl.window_rule({ name = "rule_1", match = { initial_class = "^(com.github.hluk.copyq)$" }, float = true })
|
|
hl.window_rule({ name = "rule_2", match = { initial_class = "^(com.github.hluk.copyq)$" }, size = "500 300" })
|
|
hl.window_rule({ name = "rule_3", match = { initial_class = "^(com.github.hluk.copyq)$" }, move = "onscreen cursor 0 -100%" })
|
|
|
|
-- Dialect - fixed position
|
|
hl.window_rule({ name = "rule_4", match = { title = "(.*)(Dialect)$" }, size = "600 300" })
|
|
hl.window_rule({ name = "rule_5", match = { title = "(.*)(Dialect)$" }, move = "0 2840" })
|
|
|
|
-- Thunar / FileRoller - file transfer window, float top right
|
|
hl.window_rule({ name = "rule_6", match = { initial_title = "[(Copying )|(Preparing to)|(File Operation Progress)]", initial_class = "^(thunar | org.gnome.FileRoller)$" }, float = true })
|
|
hl.window_rule({ name = "rule_7", match = { initial_title = "[(Copying )|(Preparing to)|(File Operation Progress)]", initial_class = "^(thunar | org.gnome.FileRoller)$" }, move = "2753 12" })
|
|
hl.window_rule({ name = "rule_8", match = { initial_title = "[(Copying )|(Preparing to)|(File Operation Progress)]", initial_class = "^(thunar | org.gnome.FileRoller)$" }, size = "450 100" })
|
|
|
|
hl.window_rule({ name = "rule_9", match = { title = "^(Extract*)", initial_class = "^(org.gnome.FileRoller)$" }, float = true })
|
|
hl.window_rule({ name = "rule_10", match = { title = "^(Extract*)", initial_class = "^(org.gnome.FileRoller)$" }, move = "2903 13" })
|
|
hl.window_rule({ name = "rule_11", match = { title = "^(Extract*)", initial_class = "^(org.gnome.FileRoller)$" }, size = "450 100" })
|
|
|
|
-- Steam drop down
|
|
hl.window_rule({ name = "rule_12", match = { title = "^()$", class = "^(steam)$" }, stay_focused = true })
|
|
hl.window_rule({ name = "rule_13", match = { title = "^()$", class = "^(steam)$" }, min_size = "1 1" })
|
|
|
|
-- XWaylandVideoBridge - hide and disable focus
|
|
hl.window_rule({ name = "rule_14", match = { class = "^(xwaylandvideobridge)$" }, opacity = "0.0 override 0.0 override" })
|
|
hl.window_rule({ name = "rule_15", match = { class = "^(xwaylandvideobridge)$" }, no_anim = true })
|
|
hl.window_rule({ name = "rule_16", match = { class = "^(xwaylandvideobridge)$" }, no_focus = true })
|
|
hl.window_rule({ name = "rule_17", match = { class = "^(xwaylandvideobridge)$" }, no_initial_focus = true })
|
|
|
|
-- Genshin Impact
|
|
hl.window_rule({ name = "rule_18", match = { class = "^(genshinimpact.exe)$" }, maximize = true })
|
|
hl.window_rule({ name = "rule_19", match = { class = "^(genshinimpact.exe)$" }, monitor = "1" })
|
|
hl.window_rule({ name = "rule_20", match = { class = "^(genshinimpact.exe)$" }, no_anim = true })
|
|
hl.window_rule({ name = "rule_21", match = { class = "^(genshinimpact.exe)$" }, float = true })
|
|
|
|
-- Bar popups / Nextcloud - float near bar
|
|
hl.window_rule({ name = "rule_22", match = { class = "^(bar_popup|com.nextcloud.desktopclient.nextcloud)$" }, float = true })
|
|
hl.window_rule({ name = "rule_23", match = { title = "^(Weather Report)$", class = "^(bar_popup)$" }, move = "2690 298" })
|
|
hl.window_rule({ name = "rule_24", match = { title = "^(Weather Report)$", class = "^(bar_popup)$" }, size = "670 850" })
|
|
|
|
hl.window_rule({ name = "rule_25", match = { title = "^(Connection Editor|Pipewire Volume Control)$", class = "^(bar_popup|com.saivert.pwvucontrol)$" }, move = "2755 608" })
|
|
hl.window_rule({ name = "rule_26", match = { title = "^(Connection Editor|Pipewire Volume Control)$", class = "^(bar_popup|com.saivert.pwvucontrol)$" }, size = "596 819" })
|
|
|
|
hl.window_rule({ name = "rule_27", match = { title = "^(Nextcloud)$", class = "^(com.nextcloud.desktopclient.nextcloud)$" }, move = "2765 615" })
|
|
hl.window_rule({ name = "rule_28", match = { title = "^(Nextcloud)$", class = "^(com.nextcloud.desktopclient.nextcloud)$" }, size = "596 819" })
|
|
|
|
hl.window_rule({ name = "rule_29", match = { class = "^(Rofi)$" }, float = true })
|
|
|
|
hl.window_rule({ name = "rule_30", match = { class = "FloatingTerminal" }, float = true })
|
|
hl.window_rule({ name = "rule_31", match = { class = "FloatingTerminal" }, move = "-205 15" })
|
|
hl.window_rule({ name = "rule_32", match = { class = "FloatingTerminal" }, size = "190 100" }) |