添加钉钉微信

This commit is contained in:
2022-03-02 00:09:15 +08:00
parent 254291b699
commit 8a94eb39ab
5 changed files with 37 additions and 7 deletions

View File

@@ -35,8 +35,14 @@ pravitekeys = awful.util.table.join(
awful.key({ modkey }, "e",
function ()
-- run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"})
run_or_raise("emacs", {class = "Emacs"})
run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"})
-- run_or_raise("emacs", {class = "Emacs"})
end),
awful.key({ modkey }, "d",
function ()
run_or_raise("gtk-launch dingtalk", {class = "dingtalk"})
-- run_or_raise("emacs", {class = "Emacs"})
end),
awful.key({ modkey, "Shift" }, "e",

View File

@@ -166,13 +166,15 @@ local function tag_config()
emacs = screen[2].tags[2],
media = screen[2].tags[3],
virtualbox = screen[2].tags[4],
other2 = screen[1].tags[3],
}
else
tags.specify = {
firefox = screen[1].tags[2],
emacs = screen[1].tags[3],
media = screen[1].tags[4],
virtualbox = screen[1].tags[5]
virtualbox = screen[1].tags[5],
other2 = screen[1].tags[6],
}
end
return tags
@@ -766,6 +768,9 @@ awful.rules.rules = {
{ rule = { class = "Emacs" },
properties = { tag = mytags.specify.emacs, switchtotag = true, fullscreen = true } },
{ rule = { class = "dingtalk" },
properties = { tag = mytags.specify.other2 } },
{ rule = { class = "Gimp", role = "gimp-image-window" },
properties = { maximized = true } },
}