aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/rc.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index f86796a..707f0bd 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -97,18 +97,22 @@ dpms_menu = {
{ "21600 # 6h", function() awful.spawn.easy_async_with_shell("xset dpms 0 0 21600") end },
}
+dunst_menu = {
+ { "history-pop", function() awful.spawn.easy_async_with_shell("dunstctl history-pop") end },
+ { "set-paused true", function() awful.spawn.easy_async_with_shell("dunstctl set-paused true") end },
+ { "set-paused false", function() awful.spawn.easy_async_with_shell("dunstctl set-paused false") end },
+}
+
myawesomemenu = {
{ "show hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
-- { "manual", terminal .. " -e man awesome" },
{ "xset s", s_menu },
{ "xset dpms", dpms_menu },
+ { "dunstctl", dunst_menu },
{ "config file", editor .. " " .. awesome.conffile },
{ "picom config", function() awful.spawn.easy_async_with_shell("sh -c 'gvim $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 },
- { "dunst_hist", function() awful.spawn.easy_async_with_shell("dunstctl history-pop") end },
- { "dunst=0", function() awful.spawn.easy_async_with_shell("dunstctl set-paused true") end },
- { "dunst=1", function() awful.spawn.easy_async_with_shell("dunstctl set-paused false") end },
{ "refresh", awesome.restart },
{ "reboot", function() awful.spawn("sh -c 'lxsudo reboot now'") end },
-- { "quit", function() awesome.quit() end },