docs: update example/config.lua with rule field descriptions
This commit is contained in:
@@ -33,9 +33,22 @@ input = {
|
||||
accel_speed = 0.0,
|
||||
}
|
||||
|
||||
-- Rules let you match windows by app_id, title, or class and apply window-manager
|
||||
-- settings. Set `apply_effects = false` to disable compositor effects (shadows,
|
||||
-- transparency, rounded corners) on a matched window.
|
||||
rules = {
|
||||
-- { app_id = "Gimp", floating = true, monitor = -1 },
|
||||
-- { app_id = "firefox", tags = 1 << 8, floating = false, monitor = -1 },
|
||||
--
|
||||
-- -- `tags = "any"` places the window on whichever tag happens to be focused
|
||||
-- -- `monitor = "default"` sends the window to the current / primary monitor
|
||||
-- { app_id = "Alacritty", tags = "any", monitor = "default" },
|
||||
--
|
||||
-- -- `can_float = false` locks the window into tiling (prevents togglefloating)
|
||||
-- { app_id = "pavucontrol", floating = true, can_float = false },
|
||||
--
|
||||
-- -- `title` matching works alongside or instead of app_id:
|
||||
-- -- { title = "Save As", floating = true, apply_effects = false },
|
||||
}
|
||||
|
||||
monitors = {
|
||||
|
||||
Reference in New Issue
Block a user