diff options
| author | Blista Kanjo | 2024-06-20 12:00:53 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2024-06-20 12:00:53 -0400 |
| commit | a0b72c06af3d3500a35e9fa6fdd6bff94773f920 (patch) | |
| tree | 27e2c38a54545db263a33c50f7b90f278ca4fd07 /.config | |
| parent | c378c6f2b8aac89158c1a1a2ca5716748e8fc148 (diff) | |
feat: add `set date & time` to `myawesomemenu`
Diffstat (limited to '.config')
| -rw-r--r-- | .config/awesome/rc-4.3-3.lua | 18 | ||||
| -rw-r--r-- | .config/awesome/rc.lua | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/.config/awesome/rc-4.3-3.lua b/.config/awesome/rc-4.3-3.lua index b9338bf..aa0bbf6 100644 --- a/.config/awesome/rc-4.3-3.lua +++ b/.config/awesome/rc-4.3-3.lua @@ -95,22 +95,22 @@ myawesomemenu = { { "dunstctl", dunst_menu }, { "config file", editor .. " " .. awesome.conffile }, { "picom config", function() awful.spawn.easy_async_with_shell("xfce4-terminal -x nvim $HOME/.config/picom.conf") end }, + { "set date & time", function() awful.spawn.easy_async_with_shell("~/.local/bin/GUI-dateTime") 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 }, - { "soft-reboot", function() awful.spawn("sh -c 'systemctl soft-reboot'") end }, - { "reboot", function() awful.spawn("sh -c 'systemctl reboot'") end }, - { "refresh", awesome.restart }, + { "soft-reboot", function() awful.spawn("sh -c 'systemctl soft-reboot'") end }, + { "reboot", function() awful.spawn("sh -c 'systemctl reboot'") end }, + { "refresh", awesome.restart }, -- { "quit", function() awesome.quit() end }, - { "poweroff", function() awful.spawn("sh -c 'systemctl poweroff'") end }, - { "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") 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 'slock'") end }, - + { "poweroff", function() awful.spawn("sh -c 'systemctl poweroff'") end }, + { "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") 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 'slock'") end }, } mymainmenu = awful.menu({ diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index f1f2040..3971a0c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -78,6 +78,7 @@ myawesomemenu = { { "dunstctl", dunst_menu }, { "config file", editor .. " " .. awesome.conffile }, { "picom config", function() awful.spawn.easy_async_with_shell("xfce4-terminal -x nvim $HOME/.config/picom.conf") end }, + { "set date & time", function() awful.spawn.easy_async_with_shell("~/.local/bin/GUI-dateTime") end }, { "change wallpaper", function() awful.spawn.easy_async_with_shell("sh -c 'nitrogen'") end }, { "xdg_menu refresh", function() @@ -93,7 +94,6 @@ myawesomemenu = { { "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 'slock'") end }, - } mymainmenu = awful.menu({ |
