diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index d43a74b..230eb45 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -518,6 +518,25 @@ awful.rules.rules = { properties = { titlebars_enabled = true }, }, + -- "Needy": Clients that steal focus when they are urgent + { + rule_any = { + class = { + "TelegramDesktop", + }, + type = { + "dialog", + }, + }, + callback = function (c) + c:connect_signal("property::urgent", function () + if c.urgent then + c:jump_to() + end + end) + end + }, + -- Fixed terminal geometry for floating terminals { rule_any = {