aboutsummaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
authorBlista Kanjo2021-10-29 00:06:19 -0400
committerBlista Kanjo2021-10-29 00:07:00 -0400
commitb203f01c6b78a4080ef9db4cdcfa3c110347d4c4 (patch)
tree56f8f2858907e56c9f3a5024952408b29e18b110 /awesome/rc.lua
parentedca291007fe49862e874ed0fedf89b720c2e7b7 (diff)
added vide theme and xfce4-clipman-history shortcut
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r--awesome/rc.lua26
1 files changed, 15 insertions, 11 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 625838b..72f58a2 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -23,7 +23,7 @@ menubar.cache_entries = true
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
-- beautiful.init(gears.filesystem.get_configuration_dir() .. "/themes/default/theme.lua")
-local theme_path = string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), "adwaita")
+local theme_path = string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), "vide")
beautiful.init(theme_path)
-- This is used later as the default terminal and editor to run.
@@ -62,25 +62,25 @@ awful.layout.layouts = {
-- {{{ Menu
-- Create a launcher widget and a main menu
myawesomemenu = {
- { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
+ { "show hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
-- { "manual", terminal .. " -e man awesome" },
- { "config", editor .. " " .. awesome.conffile },
- { "picom", function() awful.spawn.easy_async_with_shell("sh -c 'xed $HOME/.config/picom.conf'") end },
- { "wall", function() awful.spawn.easy_async_with_shell("sh -c 'nitrogen'") end },
- { "xdg", function() awful.spawn.easy_async_with_shell("sh -c 'xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu > ~/.config/awesome/xdgmenu.lua'") end, },
+ { "config file", editor .. " " .. awesome.conffile },
+ { "picom config", function() awful.spawn.easy_async_with_shell("sh -c 'xed $HOME/.config/picom.conf'") end },
+ { "change wallpaper", function() awful.spawn.easy_async_with_shell("sh -c 'nitrogen'") end },
+ { "xdg_menu refresh", function() awful.spawn.easy_async_with_shell("sh -c 'xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu > ~/.config/awesome/xdgmenu.lua'") end, },
{ "refresh", awesome.restart },
{ "reboot" , function() awful.spawn("sh -c 'gksudo reboot now'") end },
-- { "quit", function() awesome.quit() end },
{ "shutdown", function() awful.spawn("sh -c 'gksudo shutdown now'") end},
{ "suspend", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl suspend'") end},
+ { "logout", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end },
{ "lock", function() awful.spawn.easy_async_with_shell("sh -c 'xflock4'") end},
- { "quit", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end },
}
-mymainmenu = awful.menu({ items = { { "apps", xdgmenu, beautiful.awesome_icon },
- { "system", myawesomemenu },
- { "terminal", terminal },
- { "run", function () awful.screen.focused().mypromptbox:run() end}
+mymainmenu = awful.menu({ items = { { "applications", xdgmenu, beautiful.awesome_icon },
+ { "system stuff", myawesomemenu },
+ { "open terminal", terminal },
+ { "run prompt", function () awful.screen.focused().mypromptbox:run() end}
}
})
@@ -311,6 +311,10 @@ globalkeys = gears.table.join(
awful.key({ modkey }, "q", function () awful.spawn.easy_async_with_shell("sh -c '/home/kylert/.local/share/Blista-Kanjo-Emoji/blista-emoji-picker'") end,
{description = "Launch Emoji Chooser", group = "launcher"}),
+ -- Clipboard Manager
+ awful.key({ modkey }, "c", function () awful.spawn.easy_async_with_shell("xfce4-clipman-history") end,
+ {description = "open clipboard history", group = "launcher"}),
+
-- awesome window manager Controls
awful.key({ "Control", "Mod1" }, "BackSpace", awesome.restart,
{description = "reload awesome", group = "awesome"}),