aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-05-08 14:22:54 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2020-05-08 14:22:54 +0200
commit5e5b7d4ace39a39fca19676fcf1da602b3cd3383 (patch)
tree8babe5658b5983c7a212a83b8c7d4e2b104c8102
parent09f2d71de2677e87b0b567d3f89be81744d39857 (diff)
downloadscripts-5e5b7d4ace39a39fca19676fcf1da602b3cd3383.tar.gz
scripts-5e5b7d4ace39a39fca19676fcf1da602b3cd3383.zip
Changed plantUML executable and removed blank end lines.
-rwxr-xr-xcompilePlantUML.sh6
-rwxr-xr-xemoji.sh1
-rwxr-xr-xgpu/gpuHybrid.sh1
3 files changed, 6 insertions, 2 deletions
diff --git a/compilePlantUML.sh b/compilePlantUML.sh
index dcef247..e5de323 100755
--- a/compilePlantUML.sh
+++ b/compilePlantUML.sh
@@ -20,9 +20,11 @@ targetDir="/tmp/plantUML"
sourceFile="$1"
targetFile="${targetDir}/${sourceFile##*/}"
targetFile="${targetFile%.*}.png"
-plantUMLExec="$HOME/programs/plantUML/plantuml.jar"
+#plantUMLExec="$HOME/programs/plantUML/plantuml.jar"
[ -d "$targetDir" ] || mkdir -p "$targetDir"
-java -jar "$plantUMLExec" "$sourceFile" -o "$targetDir"
+# java -jar "$plantUMLExec" "$sourceFile" -o "$targetDir"
+plantuml "$sourceFile" -o "$targetDir"
[ -n "$open" ] && "$VIEWER" "$targetFile" &
exit 0 # So return value is not that of previous line
+
diff --git a/emoji.sh b/emoji.sh
index 57cde73..dd55261 100755
--- a/emoji.sh
+++ b/emoji.sh
@@ -7,3 +7,4 @@ selected="$(dmenu -i -l 20 -p "Choose an emoji:" < "$file" | cut -d' ' -f1)"
[ -z "$selected" ] && dunstify -t 2000 "No emoji selected." && exit 0
echo "$selected" | tr -d '\n' | xsel -ib
dunstify -t 2000 "Copied $(xsel -ob)"
+
diff --git a/gpu/gpuHybrid.sh b/gpu/gpuHybrid.sh
index d3c05a0..0826eb0 100755
--- a/gpu/gpuHybrid.sh
+++ b/gpu/gpuHybrid.sh
@@ -3,3 +3,4 @@
# Sets on nvidia at startup
cp "$HOME/.xinitrci3bcknvidia" "$HOME/.xinitrci3"
sudo optimus-manager --set-startup hybrid
+