mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-25 03:08:34 +02:00
signals: don't let spotify set the urgent flag
It seems to set it for whatever reason. This is disturbing.
This commit is contained in:
parent
5358463d2a
commit
a4943e289f
1 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,15 @@ client.add_signal("manage",
|
||||||
mouse_follow_focus(c)
|
mouse_follow_focus(c)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- If this is Spotify and it sets the urgent property, unset it
|
||||||
|
if c.instance == "spotify" then
|
||||||
|
c.urgent = false
|
||||||
|
c:add_signal("property::urgent",
|
||||||
|
function()
|
||||||
|
c.urgent = false
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
-- Setup icon if none exists
|
-- Setup icon if none exists
|
||||||
if not c.icon then
|
if not c.icon then
|
||||||
local icon = icons.lookup({ name = { c.class, c.instance },
|
local icon = icons.lookup({ name = { c.class, c.instance },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue