Ventto / mons

POSIX Shell script to quickly manage monitors on X
MIT License
624 stars 39 forks source link

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

Open binarybrain11 opened 2 years ago

binarybrain11 commented 2 years ago

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!

mjkloeckner commented 1 month ago

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"