diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-09 17:19:20 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-09 17:19:20 -0600 |
commit | 1d048c3caf026ef7d8f1c35d55c59d42cdf5173e (patch) | |
tree | 00965c6970103e0c979881dc9e1f283c0fe9bdcc | |
parent | 5b7ad5a0c4e00ab4a18110fd77d0fcb5e3b253da (diff) | |
download | awesome-1d048c3caf026ef7d8f1c35d55c59d42cdf5173e.tar.xz awesome-1d048c3caf026ef7d8f1c35d55c59d42cdf5173e.zip |
make placement centered and prevent windows from spawning maximized
-rw-r--r-- | rules.lua | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -12,17 +12,18 @@ awful.rules.rules = { focus = awful.client.focus.filter, raise = true, keys = clientkeys, - buttons = clientbuttons, + buttons = client_buttons, screen = awful.screen.preferred, - placement = awful.placement.no_overlap+awful.placement.no_offscreen, + placement = awful.placement.centered+awful.placement.no_offscreen, prevent_kill = false, + maximized = false, } }, -- Warp cursor { rule_any = { class = { "Chromium-browser", - "Firefox", + "firefox", "Firefox-esr", "Gimp", "KeePassXC", @@ -48,9 +49,7 @@ awful.rules.rules = { properties = { screen = awful.screen.focused(), floating = true, - placement = awful.placement.centered, - -- tags = awful.screen.focused().selected_tags, -- For some reason, this doesn't work - callback = function(c) c:tags(awful.screen.focused().selected_tags) end -- But this does + sticky = true, } }, } |