]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - xdg-ninja.sh
Add Nvidia glcache setting
[xdg-ninja.git] / xdg-ninja.sh
index 1cf3d71e49d96f2f74065bdcdff4911a37f57a53..602f2628c6e3133d7fae217f78ce94fe3ef7eb41 100755 (executable)
@@ -71,7 +71,7 @@ if [ -z "${XDG_RUNTIME_DIR}" ]; then
 fi
 
 if ! command -v jq >/dev/null 2>/dev/null; then
-    printf "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script."
+    printf "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script.\n"
     exit
 fi
 
@@ -129,7 +129,7 @@ log() {
         if $USE_GLOW; then
             printf "%s\n" "$HELP" | glow -
         elif $USE_BAT; then
-            printf "%s\n" "$HELP" | bat -pp -f --language markdown
+            printf "%s\n" "$HELP" | bat -pp --decorations=always --color=always --language markdown
         else
             printf "%s\n" "$HELP"
         fi