summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpris-widget/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpris-widget/init.lua b/mpris-widget/init.lua
index 040c34c..0dac632 100644
--- a/mpris-widget/init.lua
+++ b/mpris-widget/init.lua
@@ -73,7 +73,7 @@ local popup = awful.popup{
local function rebuild_popup()
awful.spawn.easy_async(LIST_PLAYERS_CMD, function(stdout, _, _, _)
for player_name in stdout:gmatch("[^\r\n]+") do
- if player_name ~='' or player_name ~=nil then
+ if player_name ~='' and player_name ~=nil then
for i = 0, #rows do rows[i]=nil end
local checkbox = wibox.widget{