quake: let border width be configurable

This commit is contained in:
Sudo Nice 2016-08-11 09:53:02 +03:00
parent 4eec21ad8e
commit 9dc19f8821
1 changed files with 2 additions and 1 deletions

View File

@ -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