Commits

portix committed 47db632

Print error if no scripts were found in userscripts

Comments (0)

Files changed (1)

extensions/userscripts

         Signal.connect("documentLoaded", loadFinishedCallback);
         ret = true;
     }
+    if (ret == false)
+    {
+        extensions.error(me, "No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey");
+    }
     //metaData = {};
     //onStart.concat(onEnd).forEach(function (v, k, obj) {
     //  var o = {