better quake

This commit is contained in:
Kacper Donat 2018-08-07 15:54:14 +02:00
parent 2c6d2627f0
commit 5b10bc9cbb
2 changed files with 8 additions and 3 deletions

View File

@ -379,13 +379,13 @@ globalkeys = awful.util.table.join(
) )
clientkeys = awful.util.table.join( clientkeys = awful.util.table.join(
awful.key({ altkey, "Shift" }, "m", lain.util.magnify_client ), awful.key({ altkey, "Shift" }, "m", lain.util.magnify_client, { group = "client", description = "magnify" }),
awful.key({ modkey, }, "f", awful.key({ modkey, }, "f",
function (c) function (c)
c.fullscreen = not c.fullscreen c.fullscreen = not c.fullscreen
c:raise() c:raise()
end, end,
{description = "toggle fullscreen", group = "client"}), { description = "toggle fullscreen", group = "client" }),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end, awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
{description = "close", group = "client"}), {description = "close", group = "client"}),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle , awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,

View File

@ -213,7 +213,12 @@ local fs_widget = wibox.container.background(wibox.container.margin(wibox.widge
function theme.connect(s) function theme.connect(s)
-- Quake application -- Quake application
s.quake = lain.util.quake({ app = awful.util.terminal }) s.quake = lain.util.quake({
app = awful.util.terminal,
followtag = true,
width = 0.333,
height = 1,
})
-- If wallpaper is a function, call it with the screen -- If wallpaper is a function, call it with the screen
local wallpaper = theme.wallpaper local wallpaper = theme.wallpaper