summaryrefslogtreecommitdiff
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
parenta9d4ed7cebfe7a372436e50c1632c09a83021ff2 (diff)
Correct bash and python usage
-rwxr-xr-xscripts/Scripts/lc4
-rwxr-xr-xstows2
2 files changed, 3 insertions, 3 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
diff --git a/stows b/stows
index e19639b..75c8f17 100755
--- a/stows
+++ b/stows
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
flags=""