mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-05 04:32:30 +02:00
36 lines
1.4 KiB
Lua
36 lines
1.4 KiB
Lua
-- Floating windows.
|
|
o.window({ tag = "floating-window" }, { float = true })
|
|
o.window({ tag = "floating-window" }, { center = true })
|
|
o.window({ tag = "floating-window" }, { size = { 875, 600 } })
|
|
|
|
o.window("(org.omarchy.btop|org.omarchy.terminal|org.omarchy.bash|org.codeberg.dnkl.foot|org.gnome.NautilusPreviewer|org.gnome.Evince|com.gabm.satty|Omarchy|About|TUI.float|imv|mpv)", {
|
|
tag = "+floating-window",
|
|
})
|
|
o.window(
|
|
{
|
|
class = "(xdg-desktop-portal-gtk|sublime_text|DesktopEditors|org.gnome.Nautilus)",
|
|
title = "^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)",
|
|
},
|
|
{ tag = "+floating-window" }
|
|
)
|
|
o.window("org.gnome.Calculator", { float = true })
|
|
|
|
-- Fullscreen screensaver.
|
|
o.window("org.omarchy.screensaver", { fullscreen = true })
|
|
o.window("org.omarchy.screensaver", { float = true })
|
|
o.window("org.omarchy.screensaver", { animation = "slide" })
|
|
|
|
-- No transparency on media windows.
|
|
o.window("^(zoom|vlc|mpv|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta|imv|org.gnome.NautilusPreviewer)$", {
|
|
tag = "-default-opacity",
|
|
})
|
|
o.window("^(zoom|vlc|mpv|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta|imv|org.gnome.NautilusPreviewer)$", {
|
|
opacity = "1 1",
|
|
})
|
|
|
|
-- Popped window rounding.
|
|
o.window({ tag = "pop" }, { rounding = 8 })
|
|
|
|
-- Prevent idle while open.
|
|
o.window({ tag = "noidle" }, { idle_inhibit = "always" })
|