Update awesome bindings
This commit is contained in:
parent
2cd635bd19
commit
25aba7db7c
1 changed files with 9 additions and 6 deletions
|
@ -49,6 +49,7 @@ beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
|
|||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = "kitty" -- "x-terminal-emulator"
|
||||
browser = "luakit"
|
||||
editor = os.getenv("EDITOR") or "editor"
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
|
||||
|
@ -61,19 +62,19 @@ modkey = "Mod4"
|
|||
|
||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||
awful.layout.layouts = {
|
||||
awful.layout.suit.floating,
|
||||
--awful.layout.suit.max.fullscreen,
|
||||
awful.layout.suit.max,
|
||||
awful.layout.suit.spiral,
|
||||
awful.layout.suit.spiral.dwindle,
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.tile.left,
|
||||
awful.layout.suit.tile.bottom,
|
||||
awful.layout.suit.tile.top,
|
||||
awful.layout.suit.fair,
|
||||
awful.layout.suit.fair.horizontal,
|
||||
awful.layout.suit.spiral,
|
||||
awful.layout.suit.spiral.dwindle,
|
||||
awful.layout.suit.max,
|
||||
awful.layout.suit.max.fullscreen,
|
||||
awful.layout.suit.magnifier,
|
||||
awful.layout.suit.corner.nw,
|
||||
awful.layout.suit.floating,
|
||||
-- awful.layout.suit.corner.ne,
|
||||
-- awful.layout.suit.corner.sw,
|
||||
-- awful.layout.suit.corner.se,
|
||||
|
@ -272,7 +273,9 @@ function ()
|
|||
end,
|
||||
{description = "focus previous by index", group = "client"}
|
||||
),
|
||||
awful.key({ modkey}, "w", function () mymainmenu:show() end,
|
||||
awful.key({ modkey}, "w", function ()
|
||||
awful.spawn(browser)
|
||||
end,
|
||||
{description = "show main menu", group = "awesome"}),
|
||||
|
||||
-- Layout manipulation
|
||||
|
|
Loading…
Reference in a new issue