Add config files for awesomewm, alacritty, picom and rofi

This commit is contained in:
crylia
2021-09-12 22:59:41 +02:00
commit b380e753b1
94 changed files with 4445 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
-- Awesome Libs
local awful = require("awful")
local gears = require("gears")
local _M = {}
local modkey = RC.vars.modkey
function _M.get()
local clientkeys = gears.table.join(
awful.key(
{ modkey },
"f",
function (c)
c.fullscreen = not c.fullscreen
c:raise()
end,
{ description = "Toggle fullscreen", group = "Client" }
),
awful.key(
{ modkey },
"q",
function (c)
c:kill()
end,
{ description = "Close window", group = "Client" }
),
awful.key(
{ modkey, "Shift" },
"Space",
awful.client.floating.toggle,
{ description = "Toggle floating window", group = "Client" }
),
awful.key(
{ modkey, "Control" },
"r",
function (c)
awesome.restart()
end,
{ description = "Restart awesome", group = "Client" }
)
)
return clientkeys
end
return _M.get