Add the installer, uninstaller, and generated docs
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
-- 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.blob.btop|org.blob.terminal|org.blob.bash|org.codeberg.dnkl.foot|org.gnome.NautilusPreviewer|org.gnome.Evince|Blob|About|TUI.float|imv|mpv)",
|
||||
{
|
||||
tag = "+floating-window",
|
||||
}
|
||||
)
|
||||
|
||||
-- The portal only ever shows dialogs — file pickers, screen shares, permission
|
||||
-- prompts — so every one of its windows belongs in the floating treatment,
|
||||
-- whatever the app that asked for it titled it.
|
||||
o.window("xdg-desktop-portal-gtk", { tag = "+floating-window" })
|
||||
o.window({
|
||||
class = "(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" })
|
||||
|
||||
-- The About fastfetch layout needs more columns than the standard float provides.
|
||||
-- This size only covers the first launch: blob-launch-about measures the
|
||||
-- rendered content, remembers the size that hugs it, and applies that as its own
|
||||
-- rule before every later launch.
|
||||
o.window("org.blob.about", { float = true })
|
||||
o.window("org.blob.about", { center = true })
|
||||
o.window("org.blob.about", { size = { 920, 480 } })
|
||||
|
||||
|
||||
-- Fullscreen screensaver.
|
||||
o.window("org.blob.screensaver", { fullscreen = true })
|
||||
o.window("org.blob.screensaver", { float = true })
|
||||
o.window("org.blob.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" })
|
||||
Reference in New Issue
Block a user