From 910f96deb58a8f9ddf0dc5b371b4718ebf01c418 Mon Sep 17 00:00:00 2001 From: hanez Date: Sun, 16 Nov 2025 22:36:59 +0100 Subject: [PATCH] menu and config cleanups. --- .config/awesome/jupiter_menu.lua | 6 ++--- .config/awesome/rc.lua | 44 ++++++++++++++++---------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.config/awesome/jupiter_menu.lua b/.config/awesome/jupiter_menu.lua index 59177ad7..98865036 100644 --- a/.config/awesome/jupiter_menu.lua +++ b/.config/awesome/jupiter_menu.lua @@ -40,7 +40,7 @@ communicationmenu = { { "slack", "/usr/bin/slack", "/usr/share/pixmaps/slack.png" }, { "teams", "/usr/bin/teams", "/usr/share/pixmaps/teams.png" }, { "telegram", "/usr/bin/Telegram", "/usr/share/icons/hicolor/48x48/apps/telegram.png" }, - { "webex", "/usr/bin/webex", "/opt/Webex/bin/sparklogosmall.png" }, + --{ "webex", "/usr/bin/webex", "/opt/Webex/bin/sparklogosmall.png" }, { "whatsapp", "/usr/bin/whatsapp-for-linux", "/usr/share/icons/hicolor/32x32/apps/whatsapp-for-linux.png" }, { "zapzap", "/usr/bin/zapzap", "/usr/share/icons/hicolor/scalable/apps/com.rtosta.zapzap.svg" }, { "zoom", "/usr/bin/zoom", "/usr/share/pixmaps/application-x-zoom.png" }, @@ -120,7 +120,7 @@ engineeringmenu = { { "upyloader", "/usr/bin/upyloader", "/usr/share/pixmaps/upyloader.svg" }, } gamesmenu = { - { "0 a.d.", "/usr/bin/0ad", "/usr/share/pixmaps/0ad.png" }, + --{ "0 a.d.", "/usr/bin/0ad", "/usr/share/pixmaps/0ad.png" }, { "atomix", "/usr/bin/atomix", "/usr/share/icons/hicolor/symbolic/apps/atomix-symbolic.svg" }, { "citron", "/usr/bin/citron", "/usr/share/icons/hicolor/scalable/apps/org.citron_emu.citron.svg" }, { "factorio (demo)", "/usr/bin/factorio", "/usr/share/factorio/core/graphics/factorio.png" }, @@ -136,7 +136,7 @@ gamesmenu = { { "ryujinx", "/usr/bin/Ryujinx.sh", "/usr/share/icons/hicolor/scalable/apps/Ryujinx.svg" }, { "supertux", "/usr/bin/supertux2", "/usr/share/icons/hicolor/scalable/apps/supertux2.svg" }, { "supertux kart", "/usr/bin/supertuxkart", "/usr/share/icons/hicolor/48x48/apps/supertuxkart.png" }, - { "sauerbraten", "/usr/bin/sauerbraten-client", "/usr/share/pixmaps/sauerbraten.png" }, + --"sauerbraten", "/usr/bin/sauerbraten-client", "/usr/share/pixmaps/sauerbraten.png" }, { "steam", "/home/hanez/bin/steam.sh", "/usr/share/pixmaps/steam.png" }, --{ "thimbleweed park", "/home/hanez/bin/thimbleweedpark", "/home/hanez/.local/share/Steam/steamapps/common/Thimbleweed Park/Icon32.png" }, { "warzone 2100", "/usr/bin/warzone2100", "/usr/share/icons/warzone2100.png" }, diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 38157d80..a8ffccf8 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -266,7 +266,7 @@ root.buttons(gears.table.join( )) -- }}} --- {{{ Key bindings + {{{ Key bindings globalkeys = gears.table.join( -- Dropdown application @@ -276,27 +276,27 @@ globalkeys = gears.table.join( { description="set backlight", group="awesome" }), -- Set backlight - awful.key({ modkey, }, "1", function() awful.util.spawn("/usr/bin/xbacklight -set 10") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "2", function() awful.util.spawn("/usr/bin/xbacklight -set 20") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "3", function() awful.util.spawn("/usr/bin/xbacklight -set 30") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "4", function() awful.util.spawn("/usr/bin/xbacklight -set 40") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "5", function() awful.util.spawn("/usr/bin/xbacklight -set 50") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "6", function() awful.util.spawn("/usr/bin/xbacklight -set 60") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "7", function() awful.util.spawn("/usr/bin/xbacklight -set 70") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "8", function() awful.util.spawn("/usr/bin/xbacklight -set 80") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "9", function() awful.util.spawn("/usr/bin/xbacklight -set 90") end, - { description="set backlight", group="awesome" }), - awful.key({ modkey, }, "0", function() awful.util.spawn("/usr/bin/xbacklight -set 100") end, - { description="set backlight", group="awesome" }), - + -- awful.key({ modkey, }, "1", function() awful.util.spawn("/usr/bin/xbacklight -set 10") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "2", function() awful.util.spawn("/usr/bin/xbacklight -set 20") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "3", function() awful.util.spawn("/usr/bin/xbacklight -set 30") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "4", function() awful.util.spawn("/usr/bin/xbacklight -set 40") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "5", function() awful.util.spawn("/usr/bin/xbacklight -set 50") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "6", function() awful.util.spawn("/usr/bin/xbacklight -set 60") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "7", function() awful.util.spawn("/usr/bin/xbacklight -set 70") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "8", function() awful.util.spawn("/usr/bin/xbacklight -set 80") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "9", function() awful.util.spawn("/usr/bin/xbacklight -set 90") end, + -- { description="set backlight", group="awesome" }), + -- awful.key({ modkey, }, "0", function() awful.util.spawn("/usr/bin/xbacklight -set 100") end, + -- { description="set backlight", group="awesome" }), + awful.key({ modkey, }, "o", function() local handle = io.popen("/usr/bin/xbacklight -get") local result = handle:read("*a")