ma awesomecfg: set correct tag config

This commit is contained in:
makefu 2021-10-01 18:55:43 +02:00
parent 957b8eb2c4
commit d634710423
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -477,6 +477,7 @@ awful.rules.rules = {
keys = clientkeys, keys = clientkeys,
screen = awful.screen.focused, screen = awful.screen.focused,
buttons = clientbuttons } }, buttons = clientbuttons } },
-- get class via `xprop WM_CLASS` -- will be second string
--{ rule = { class = "MPlayer" }, --{ rule = { class = "MPlayer" },
-- properties = { floating = true } }, -- properties = { floating = true } },
{ rule = { class = "pinentry" }, { rule = { class = "pinentry" },
@ -485,19 +486,14 @@ awful.rules.rules = {
-- properties = { floating = true } }, -- properties = { floating = true } },
{ rule = { class = "Firefox" }, { rule = { class = "Firefox" },
properties = { tag = tags[3] } }, properties = { tag = tags[3] } },
{ rule = { class = "signal-desktop" }, { rule = { class = "Signal" },
properties = { tag = tags[4] } }, properties = { tag = tags[4] } },
{ rule = { class = "telegram-desktop" }, { rule = { class = "TelegramDesktop" },
properties = { tag = tags[4] } }, properties = { tag = tags[4] } },
{ rule = { class = "element-desktop" }, { rule = { class = "Element" },
properties = { tag = tags[4] } }, properties = { tag = tags[4] } }
{ rule = { class = "mutt" },
properties = { tag = tags[5] } },
{ rule = { class = "mosh" },
properties = { tag = tags[2] } },
} }
-- }}} -- }}}
-- {{{ Signals -- {{{ Signals
-- Signal function to execute when a new client appears. -- Signal function to execute when a new client appears.
client.connect_signal("manage", function (c, startup) client.connect_signal("manage", function (c, startup)
@ -573,6 +569,7 @@ do
awful.spawn("urxvt -e mosh makefu@gum.i", { tag = tags[2] }) awful.spawn("urxvt -e mosh makefu@gum.i", { tag = tags[2] })
awful.spawn("firefox", { tag = tags[3] }) awful.spawn("firefox", { tag = tags[3] })
awful.spawn("telegram-desktop", { tag = tags[4] }) awful.spawn("telegram-desktop", { tag = tags[4] })
awful.spawn("element-desktop", { tag = tags[4] })
awful.spawn("signal-desktop", { tag = tags[4] }) awful.spawn("signal-desktop", { tag = tags[4] })
awful.spawn("urxvt -e mutt", { tag = tags[5] }) awful.spawn("urxvt -e mutt", { tag = tags[5] })
end end