Ventto / mons

POSIX Shell script to quickly manage monitors on X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./mons.sh: line 86: fg: no job control

binarybrain11 opened this issue · comments

I got this on a fresh install of mons and what's most perplexing is line 86 doesn't seem to have anything to do with background/foreground processes. I'm currently running the i3-manjaro image, let me know if there's any other info I should provide!

If you are running the script from the build directory a quick solution is to open the file mons.sh then go to line 85 and make the following changes:

 [ "$1" = '-h' ] && { usage; exit; }
 [ "$1" = '-v' ] && { version; exit; }
-lib='%LIBDIR%/liblist.sh'
+lib='libshlist/liblist.sh'
 [ ! -r "$lib" ] && { "$lib: library not found."; exit 1; }
 . "$lib"