From a4943e289f480e911f1f2380b94494eb76b127f2 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 19 Oct 2014 23:53:01 +0200 Subject: [PATCH] signals: don't let spotify set the urgent flag It seems to set it for whatever reason. This is disturbing. --- rc/signals.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rc/signals.lua b/rc/signals.lua index 213ee83..5ae008b 100644 --- a/rc/signals.lua +++ b/rc/signals.lua @@ -50,6 +50,15 @@ client.add_signal("manage", mouse_follow_focus(c) 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 if not c.icon then local icon = icons.lookup({ name = { c.class, c.instance },