quake: add settings function; closes #273

This commit is contained in:
copycat-killer 2017-01-23 15:46:33 +01:00
parent 0180aa3bc3
commit 5383f3db0d
2 changed files with 5 additions and 1 deletions

View File

@ -72,6 +72,9 @@ function quake:display()
client.above = true
client.skip_taskbar = true
-- Additional user settings
if self.settings then self.settings(client) end
-- Toggle display
if self.visible then
client.hidden = false
@ -127,6 +130,7 @@ function quake:new(config)
conf.followtag = conf.followtag or false -- spawn on currently focused screen
conf.overlap = conf.overlap or false -- overlap wibox
conf.screen = conf.screen or awful.screen.focused()
conf.settings = conf.settings
-- If width or height <= 1 this is a proportion of the workspace
conf.height = conf.height or 0.25 -- height

2
wiki

@ -1 +1 @@
Subproject commit 2e19b23ba12894682699acdb70eeb130e51a9f3b
Subproject commit 85fa41e74a7ed2923f6e289273e436ff187c6fdc