diff options
authorPeter Palfrader <>2019-09-09 13:27:16 +0200
committerPeter Palfrader <>2019-09-09 13:27:18 +0200
commite0b6b02b2905ef1a57f385c483cdfb3e882fa995 (patch)
parent6685320272f48fd8667a8b0a14202f45808053c2 (diff)
unmaximize all new clients
This fixes behaviour by some clients such as okular. We already ran into that problem with firefox and chrome for which we fixed it manually with a rule, but this will make it work for all. The problem is that maximized clients can't be deal with sanely. You can't move them, they don't tile, and we don't even have a way to unmaximize them (as we only deal with _horizontial or _vertical maximization usually).
1 files changed, 7 insertions, 0 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index c9152bb..872ca29 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -728,6 +728,13 @@ tag.connect_signal(
-- }}}
+client.connect_signal("manage", function(c)
+ c.maximized = false
+ c.maximized_horizontal = false
+ c.maximized_vertical = false
terminal = "urxvt"
awful.spawn.with_shell("pkill -x -f nm-applet; nm-applet")
awful.spawn.with_shell("pkill -x -f blueman-applet; blueman-applet")