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

50
awesome/deco/tasklist.lua Normal file
View File

@@ -0,0 +1,50 @@
-- This function does currently nothing
-- Default awesome libraries
local gears = require("gears")
local awful = require("awful")
local _M = {}
function _M.get()
local tasklist_buttons = gears.table.join(
awful.button(
{ },
1,
function (c)
if c == client.focus then
c.minimized = true
else
c:emit_signal(
"request::activate",
"tasklist",
{raise = true}
)
end
end
),
awful.button(
{ },
3,
function()
awful.menu.client_list({ theme = { width = 250 } })
end
),
awful.button(
{ },
4,
function ()
awful.client.focus.byidx(1)
end
),
awful.button(
{ },
5,
function ()
awful.client.focus.byidx(-1)
end
)
)
return tasklist_buttons
end
return setmetatable({}, { __call = function(_, ...) return _M.get(...) end })