fs: elseif -> else in scr argument check; #322
This commit is contained in:
parent
a6ca6ab030
commit
26acf37707
1 changed files with 3 additions and 3 deletions
|
@ -32,13 +32,13 @@ function fs.show(seconds, scr)
|
||||||
|
|
||||||
if fs.followtag then
|
if fs.followtag then
|
||||||
fs.notification_preset.screen = focused()
|
fs.notification_preset.screen = focused()
|
||||||
elseif scr then
|
else
|
||||||
fs.notification_preset.screen = scr or 1
|
fs.notification_preset.screen = scr or 1
|
||||||
end
|
end
|
||||||
|
|
||||||
fs.notification = naughty.notify({
|
fs.notification = naughty.notify({
|
||||||
preset = fs.notification_preset,
|
preset = fs.notification_preset,
|
||||||
timeout = seconds or 5
|
timeout = seconds or 5
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue