From: Sudo Nice Date: Thu, 11 Aug 2016 06:53:02 +0000 (+0300) Subject: quake: let border width be configurable X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/9dc19f882188cd649c46f88fa6f8434152f89254?ds=sidebyside quake: let border width be configurable --- diff --git a/util/quake.lua b/util/quake.lua index 0bd7148..be9258c 100644 --- a/util/quake.lua +++ b/util/quake.lua @@ -60,7 +60,7 @@ function quake:display() -- Resize awful.client.floating.set(client, true) - client.border_width = 0 + client.border_width = self.border client.size_hints_honor = false if self.notexist then client:geometry(self.geometry) @@ -101,6 +101,7 @@ function quake:new(config) conf.extra = conf.extra or "" -- extra arguments conf.visible = conf.visible or false -- initially not visible conf.screen = conf.screen or capi.mouse.screen + conf.border = conf.border or 1 -- If width or height <= 1 this is a proportion of the workspace wibox_height = conf.wibox_height or 18 -- statusbar weight