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

46
awesome/main/menu.lua Normal file
View File

@@ -0,0 +1,46 @@
--------------------------------------------------------------
-- Menu class, this is where you change the rightclick menu --
--------------------------------------------------------------
-- Awesome Libs
local awful = require("awful")
-- Menu Namespace
local M = { }
-- Module Namespace
local _M = { }
local terminal = RC.vars.terminal
M.session = {
{ "Logout", function () awful.spawn.with_shell('logout') end },
{ "Shutdown", function () awful.spawn.with_shell('shutdown now') end },
{ "Reboot", function () awful.spawn.with_shell('reboot') end },
}
M.applications = {
{ "Brave", "brave-browser" },
{ "VS Code", "code" },
{ "Blender", "blender" },
{ "Steam", "steam" },
{ "Lutris", "lutris" },
}
M.settings = {
{ "General Settings", "gnome-control-center" },
{ "Power Settings", "xfce4-power-manager-settings" },
{ "Display Settings", "arandr" }
}
function _M.get()
local menu_items = {
{ "Power Menu", M.session },
{ "Applications", M.applications },
{ "Open Terminal", terminal },
{ "Settings", M.settings },
}
return menu_items
end
return _M.get