add app specific windowrules
This commit is contained in:
@@ -3,5 +3,8 @@
|
|||||||
|
|
||||||
-- Uncomment these lines to enable the ones you want on this machine:
|
-- Uncomment these lines to enable the ones you want on this machine:
|
||||||
-- require("custom/windowrules/godot")
|
-- require("custom/windowrules/godot")
|
||||||
|
-- require("custom/windowrules/signal")
|
||||||
|
-- require("custom/windowrules/telegram")
|
||||||
|
-- require("custom/windowrules/zen")
|
||||||
|
|
||||||
-- vim: ft=lua
|
-- vim: ft=lua
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
-- Signal application windowrules --
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Floating Signal",
|
||||||
|
match = { class = "signal" },
|
||||||
|
size = "425 790",
|
||||||
|
move = "(monitor_w*0.72) (monitor_h*0.15)",
|
||||||
|
float = true,
|
||||||
|
pin = true,
|
||||||
|
})
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
-- Telegram application windowrules --
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Floating Telegram",
|
||||||
|
match = { class = "org.telegram.desktop" },
|
||||||
|
size = "425 790",
|
||||||
|
move = "(monitor_w*0.72) (monitor_h*0.15)",
|
||||||
|
float = true,
|
||||||
|
pin = true,
|
||||||
|
})
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
-- Zen browser windowrules --
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
name = "Zen Picture-in-Picture",
|
||||||
|
match = { class = "zen", title = "Picture-in-Picture" },
|
||||||
|
center = true,
|
||||||
|
size = "1280 720",
|
||||||
|
float = true,
|
||||||
|
pin = true,
|
||||||
|
})
|
||||||
@@ -15,15 +15,6 @@ hl.window_rule({
|
|||||||
center = true,
|
center = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "floating-messages",
|
|
||||||
match = { class = "(signal|org.telegram.desktop)" },
|
|
||||||
size = "425 790",
|
|
||||||
move = "(monitor_w*0.72) (monitor_h*0.15)",
|
|
||||||
float = true,
|
|
||||||
pin = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "filesystems",
|
name = "filesystems",
|
||||||
match = { class = "DevTools|Tous les fichiers|org.gnome.Nautilus" },
|
match = { class = "DevTools|Tous les fichiers|org.gnome.Nautilus" },
|
||||||
@@ -31,12 +22,3 @@ hl.window_rule({
|
|||||||
center = true,
|
center = true,
|
||||||
size = "(monitor_w*0.48) (monitor_h*0.5)",
|
size = "(monitor_w*0.48) (monitor_h*0.5)",
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "pip",
|
|
||||||
match = { class = "zen", title = "Picture-in-Picture" },
|
|
||||||
center = true,
|
|
||||||
size = "1280 720",
|
|
||||||
float = true,
|
|
||||||
pin = true,
|
|
||||||
})
|
|
||||||
|
|||||||
Reference in New Issue
Block a user