summaryrefslogtreecommitdiff
path: root/rules.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rules.lua')
-rw-r--r--rules.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/rules.lua b/rules.lua
index 8655541..0a5af26 100644
--- a/rules.lua
+++ b/rules.lua
@@ -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,
}
},
}