From 26acf377071368429f0cb4bb415f1c362ea55f92 Mon Sep 17 00:00:00 2001 From: Luke Bonham Date: Fri, 24 Feb 2017 13:24:52 +0100 Subject: [PATCH] fs: elseif -> else in scr argument check; #322 --- widget/fs.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widget/fs.lua b/widget/fs.lua index 49345ca..b2a21db 100644 --- a/widget/fs.lua +++ b/widget/fs.lua @@ -32,13 +32,13 @@ function fs.show(seconds, scr) if fs.followtag then fs.notification_preset.screen = focused() - elseif scr then + else fs.notification_preset.screen = scr or 1 end fs.notification = naughty.notify({ - preset = fs.notification_preset, - timeout = seconds or 5 + preset = fs.notification_preset, + timeout = seconds or 5 }) end -- 2.39.2