From e0b6b02b2905ef1a57f385c483cdfb3e882fa995 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 9 Sep 2019 13:27:16 +0200 Subject: 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). --- config/awesome/rc.lua | 7 +++++++ 1 file changed, 7 insertions(+) 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 +end) + + terminal = "urxvt" awful.spawn.with_shell("pkill -x -f nm-applet; nm-applet") awful.spawn.with_shell("pkill -x -f blueman-applet; blueman-applet") -- cgit v1.2.3