menu and config cleanups.

This commit is contained in:
Johannes Findeisen 2025-11-16 22:36:59 +01:00
commit 910f96deb5
2 changed files with 25 additions and 25 deletions

View file

@ -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" },

View file

@ -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")