Compare commits

..

No commits in common. "0ccda8fb28c30779ea3335565cbc001e4342be1e" and "1882057748c6be1e28e936d6a55e3085cce0ff44" have entirely different histories.

3 changed files with 7 additions and 10 deletions

View file

@ -165,8 +165,7 @@ local myglobalkeys = awful.util.table.join(
awful.key({ modkey }, "x", binder.spawn("dmxrandr")), awful.key({ modkey }, "x", binder.spawn("dmxrandr")),
awful.key({ modkey, "Shift" }, "x", binder.spawn("xd --dmenu")), awful.key({ modkey, "Shift" }, "x", binder.spawn("xd --dmenu")),
awful.key({ modkey }, "z", binder.spawn("dmumount")), 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")), awful.key({ modkey, "Shift" }, "p", binder.spawn("rofi-pass")),
--}}} --}}}
@ -190,7 +189,7 @@ local myglobalkeys = awful.util.table.join(
awful.key({}, "XF86Display", mb.grabf({ keymap = displaymap, name = "Rotate" })), awful.key({}, "XF86Display", mb.grabf({ keymap = displaymap, name = "Rotate" })),
awful.key({ modkey }, "e", binder.spawn("rofi -show emoji")), 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")) awful.key({}, "Caps_Lock", lockhl("Caps"))
--}}} --}}}

View file

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

View file

@ -15,6 +15,9 @@ local app_folders = {
(os.getenv("XDG_DATA_HOME") or os.getenv("HOME") .. "/.local/share") .. "/applications", (os.getenv("XDG_DATA_HOME") or os.getenv("HOME") .. "/.local/share") .. "/applications",
os.getenv("HOME") .. "/Desktop", 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 } local binder = { modal = mb }
@ -200,7 +203,7 @@ local clientkeys = awful.util.table.join(
c["class"], c["class"],
c["instance"], c["instance"],
c["type"], c["type"],
c["pid"] or -1 c["pid"]
), ),
}) })
end) end)