X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4eec21ad8e26c57c4992fcc01ab8539113166228..44864dba370a427a67a6f4bf20ec9097bf5bde91:/util/quake.lua?ds=inline diff --git a/util/quake.lua b/util/quake.lua index 0bd7148..771741e 100644 --- a/util/quake.lua +++ b/util/quake.lua @@ -52,15 +52,16 @@ function quake:display() if not client then -- The client does not exist, we spawn it - awful.util.spawn(self.app .. " " .. string.format(self.argname, self.name) .. - " " .. self.extra, false, self.screen) + awful.util.spawn(string.format("%s %s %s", self.app, + string.format(self.argname, self.name), self.extra), + false, self.screen) self.notexist = true return end -- 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 +102,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