summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-12-16 13:25:41 +0100
committerJulian T <julian@jtle.dk>2019-12-16 13:25:41 +0100
commit757d42b3785c952a747ef315d36db99808ea67a5 (patch)
tree6984eddd122bdbdab538b0db6ef7610330778ec8 /scripts
parenta9d4ed7cebfe7a372436e50c1632c09a83021ff2 (diff)
Correct bash and python usage
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/Scripts/lc4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Scripts/lc b/scripts/Scripts/lc
index f54980c..a88f774 100755
--- a/scripts/Scripts/lc
+++ b/scripts/Scripts/lc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
LOGFILE=.lc.log
@@ -86,7 +86,7 @@ handle_stuff() {
sh /home/julian/Scripts/$(echo $statScripts | tr " " "\n" | dmenu -i -p "stat")
fi
if [ "$1" = "common" ]; then
- python Scripts/commondocs.py ~/commondocs.json $(python Scripts/commondocs.py ~/commondocs.json | dmenu)
+ python3 Scripts/commondocs.py ~/commondocs.json $(python3 Scripts/commondocs.py ~/commondocs.json | $DMENU)
fi
# Calc