From f128bf543fb3fa9ba5a8bce8221adfdc1fd548cd Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 14 May 2021 19:15:24 +0300 Subject: [PATCH] Dialog borders. --- rc.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rc.lua b/rc.lua index 347a8e3..77090bb 100644 --- a/rc.lua +++ b/rc.lua @@ -736,9 +736,13 @@ awful.rules.rules = { } }, properties = { floating = true }}, - -- Add titlebars to normal clients and dialogs - { rule_any = {type = { "normal", "dialog" } - }, properties = { titlebars_enabled = false } + -- Default 'Normal' clients properties + { rule_any = {type = { "normal" } + }, properties = { titlebars_enabled = false; border_width = 0; floating = false; } + }, + -- Default 'Dialog' clients properties + { rule_any = {type = { "dialog" } + }, properties = { titlebars_enabled = true; border_width = 2; } }, -- { rule = { class = "URxvt" },