summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-30 19:41:24 +0100
committeradam <56338480+adastx@users.noreply.github.com>2022-10-31 00:42:19 +0100
commitedecb040d826daee023b382ac7aecff88fd8a8cf (patch)
tree4c87dda3eaf30477236278e27be0e1f2d17f2916 /.local/bin
parent13aa86e8d1080c24afdeac51fbb8235990c8a001 (diff)
minor
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/aurignored2
-rwxr-xr-x.local/bin/barpos2
-rwxr-xr-x.local/bin/clipclear2
-rwxr-xr-x.local/bin/dock2
-rwxr-xr-x.local/bin/in-git-repo2
-rwxr-xr-x.local/bin/pashare3
-rwxr-xr-x.local/bin/scheme2
-rwxr-xr-x.local/bin/statusbar/sb-forecast2
8 files changed, 8 insertions, 9 deletions
diff --git a/.local/bin/aurignored b/.local/bin/aurignored
index 2eaabd8..0db9148 100755
--- a/.local/bin/aurignored
+++ b/.local/bin/aurignored
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Get list of ignored pkgs
function ignored() {
diff --git a/.local/bin/barpos b/.local/bin/barpos
index 29e2512..16626a3 100755
--- a/.local/bin/barpos
+++ b/.local/bin/barpos
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
BAR_CFG=$XDG_CONFIG_HOME/polybar/config.ini
diff --git a/.local/bin/clipclear b/.local/bin/clipclear
index 2a53e42..2395cc3 100755
--- a/.local/bin/clipclear
+++ b/.local/bin/clipclear
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/bin/sh
clipdel -d ".*"
diff --git a/.local/bin/dock b/.local/bin/dock
index 3d0c06f..c4ffb01 100755
--- a/.local/bin/dock
+++ b/.local/bin/dock
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
main () {
case "$1" in
diff --git a/.local/bin/in-git-repo b/.local/bin/in-git-repo
index e155bc8..56e2e33 100755
--- a/.local/bin/in-git-repo
+++ b/.local/bin/in-git-repo
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
res=$(git rev-parse --is-inside-work-tree 2>/dev/null)
diff --git a/.local/bin/pashare b/.local/bin/pashare
index 6fe8f25..a13c25e 100755
--- a/.local/bin/pashare
+++ b/.local/bin/pashare
@@ -10,8 +10,7 @@ main () {
stop)
stop ;;
*)
- echo "usage: pashare [start|stop]"
- ;;
+ echo "usage: pashare [start|stop]" ;;
esac
}
diff --git a/.local/bin/scheme b/.local/bin/scheme
index 205d0ca..a4b9b38 100755
--- a/.local/bin/scheme
+++ b/.local/bin/scheme
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
main () {
case "$1" in
diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast
index ec3e590..c70f671 100755
--- a/.local/bin/statusbar/sb-forecast
+++ b/.local/bin/statusbar/sb-forecast
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
LOCATION=$(<$XDG_CONFIG_HOME/forecast/location)