From 6757cfbc1e63eecd34f9666b9869f99d2912098b Mon Sep 17 00:00:00 2001 From: elenapan Date: Mon, 27 Apr 2020 04:34:46 +0300 Subject: [PATCH] Fix wrong titlebar button color on initially undecorated clients --- config/awesome/rc.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 5114c62..86e1527 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -516,7 +516,9 @@ awful.rules.rules = { "splash" } }, - properties = { titlebars_enabled = false }, + callback = function(c) + decorations.hide(c) + end }, -- Titlebars ON (explicitly) @@ -529,7 +531,9 @@ awful.rules.rules = { "conversation", } }, - properties = { titlebars_enabled = true }, + callback = function(c) + decorations.show(c) + end }, -- "Needy": Clients that steal focus when they are urgent