Compare commits

...

2 commits

Author SHA1 Message Date
Alexander Gehrke
0ccda8fb28 don't track numlock 2026-01-11 15:44:11 +01:00
Alexander Gehrke
a5447d1669 small updates 2026-01-11 15:28:52 +01:00
3 changed files with 10 additions and 7 deletions

View file

@ -165,7 +165,8 @@ local myglobalkeys = awful.util.table.join(
awful.key({ modkey }, "x", binder.spawn("dmxrandr")),
awful.key({ modkey, "Shift" }, "x", binder.spawn("xd --dmenu")),
awful.key({ modkey }, "z", binder.spawn("dmumount")),
awful.key({ modkey }, "p", nil, binder.spawn("passmenu --type")),
--awful.key({ modkey }, "p", nil, binder.spawn("passmenu --type")),
awful.key({ modkey }, "p", nil, binder.spawn("rofi-rbw")),
awful.key({ modkey, "Shift" }, "p", binder.spawn("rofi-pass")),
--}}}
@ -189,7 +190,7 @@ local myglobalkeys = awful.util.table.join(
awful.key({}, "XF86Display", mb.grabf({ keymap = displaymap, name = "Rotate" })),
awful.key({ modkey }, "e", binder.spawn("rofi -show emoji")),
awful.key({}, "Num_Lock", lockhl("Num", true)),
--awful.key({}, "Num_Lock", lockhl("Num", true)),
awful.key({}, "Caps_Lock", lockhl("Caps"))
--}}}

View file

@ -61,6 +61,7 @@ awful.rules.rules = {
callback = function(c)
if startswith(c["class"], "steam_app_") then
keyboard_layer(3)(c)
c.fullscreen = true
end
log("-----------\nnew client\n")
if c["name"] ~= nil then
@ -130,9 +131,13 @@ awful.rules.rules = {
rule = { class = "TelegramDesktop", name = "Media viewer" },
properties = { size_hints_honor = true, floating = true, fullscreen = true },
},
{
rule_any = { class = { "Jellyfin Media Player" }, name = { "jellyfinmediaplayer" } },
properties = { size_hints_honor = true, fullscreen = true },
},
{ rule_any = { role = { "conversation" }, instance = { "Weechat" } }, callback = awful.client.setslave },
{ rule = { class = "Irssi" }, properties = { tag = "3" }, callback = awful.client.setslave },
{ rule_any = { instance = { "Gmutt" }, name = { "Gmutt" } }, properties = { tag = "4", screen = screen_mail } },
{ rule_any = { instance = { "Gmutt" }, name = { "Gmutt" } }, properties = { tag = "4" } },
{ rule_any = { class = { "Gmpc", "Spotify" } }, properties = { tag = "6" } },
{ rule = { class = "Pdfpc" }, properties = { size_hints_honor = true, floating = true, fullscreen = true } },
{

View file

@ -15,9 +15,6 @@ local app_folders = {
(os.getenv("XDG_DATA_HOME") or os.getenv("HOME") .. "/.local/share") .. "/applications",
os.getenv("HOME") .. "/Desktop",
}
local menubar = require("menubar")
menubar.utils.terminal = conf.cmd.terminal -- Set the terminal for applications that require it
local binder = { modal = mb }
@ -203,7 +200,7 @@ local clientkeys = awful.util.table.join(
c["class"],
c["instance"],
c["type"],
c["pid"]
c["pid"] or -1
),
})
end)