quake: let border width be configurable
This commit is contained in:
parent
4eec21ad8e
commit
9dc19f8821
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,7 @@ function quake:display()
|
||||||
|
|
||||||
-- Resize
|
-- Resize
|
||||||
awful.client.floating.set(client, true)
|
awful.client.floating.set(client, true)
|
||||||
client.border_width = 0
|
client.border_width = self.border
|
||||||
client.size_hints_honor = false
|
client.size_hints_honor = false
|
||||||
if self.notexist then
|
if self.notexist then
|
||||||
client:geometry(self.geometry)
|
client:geometry(self.geometry)
|
||||||
|
@ -101,6 +101,7 @@ function quake:new(config)
|
||||||
conf.extra = conf.extra or "" -- extra arguments
|
conf.extra = conf.extra or "" -- extra arguments
|
||||||
conf.visible = conf.visible or false -- initially not visible
|
conf.visible = conf.visible or false -- initially not visible
|
||||||
conf.screen = conf.screen or capi.mouse.screen
|
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
|
-- If width or height <= 1 this is a proportion of the workspace
|
||||||
wibox_height = conf.wibox_height or 18 -- statusbar weight
|
wibox_height = conf.wibox_height or 18 -- statusbar weight
|
||||||
|
|
Loading…
Add table
Reference in a new issue