quake: add settings function; closes #273
This commit is contained in:
parent
0180aa3bc3
commit
5383f3db0d
2 changed files with 5 additions and 1 deletions
|
@ -72,6 +72,9 @@ function quake:display()
|
||||||
client.above = true
|
client.above = true
|
||||||
client.skip_taskbar = true
|
client.skip_taskbar = true
|
||||||
|
|
||||||
|
-- Additional user settings
|
||||||
|
if self.settings then self.settings(client) end
|
||||||
|
|
||||||
-- Toggle display
|
-- Toggle display
|
||||||
if self.visible then
|
if self.visible then
|
||||||
client.hidden = false
|
client.hidden = false
|
||||||
|
@ -127,6 +130,7 @@ function quake:new(config)
|
||||||
conf.followtag = conf.followtag or false -- spawn on currently focused screen
|
conf.followtag = conf.followtag or false -- spawn on currently focused screen
|
||||||
conf.overlap = conf.overlap or false -- overlap wibox
|
conf.overlap = conf.overlap or false -- overlap wibox
|
||||||
conf.screen = conf.screen or awful.screen.focused()
|
conf.screen = conf.screen or awful.screen.focused()
|
||||||
|
conf.settings = conf.settings
|
||||||
|
|
||||||
-- If width or height <= 1 this is a proportion of the workspace
|
-- If width or height <= 1 this is a proportion of the workspace
|
||||||
conf.height = conf.height or 0.25 -- height
|
conf.height = conf.height or 0.25 -- height
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 2e19b23ba12894682699acdb70eeb130e51a9f3b
|
Subproject commit 85fa41e74a7ed2923f6e289273e436ff187c6fdc
|
Loading…
Add table
Reference in a new issue