small updates
This commit is contained in:
parent
1882057748
commit
a5447d1669
3 changed files with 9 additions and 6 deletions
|
|
@ -165,7 +165,8 @@ 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")),
|
||||||
|
|
||||||
--}}}
|
--}}}
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ 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
|
||||||
|
|
@ -130,9 +131,13 @@ 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", screen = screen_mail } },
|
{ rule_any = { instance = { "Gmutt" }, name = { "Gmutt" } }, properties = { tag = "4" } },
|
||||||
{ 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 } },
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ 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 }
|
||||||
|
|
||||||
|
|
@ -203,7 +200,7 @@ local clientkeys = awful.util.table.join(
|
||||||
c["class"],
|
c["class"],
|
||||||
c["instance"],
|
c["instance"],
|
||||||
c["type"],
|
c["type"],
|
||||||
c["pid"]
|
c["pid"] or -1
|
||||||
),
|
),
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue