From 246e1ca9eb0d1341205dd7df3725dc31093214bd Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Sun, 6 Mar 2022 16:22:37 +0100 Subject: [PATCH] Change shebangs --- install.sh | 2 +- scripts/.local/bin/clear-clipboard.sh | 2 +- scripts/.local/bin/erase-disk.sh | 2 +- scripts/.local/bin/update.sh | 2 +- sway/.config/sway/autostart.sh | 2 +- waybar/.config/waybar/ivpn-reconnect.sh | 2 +- waybar/.config/waybar/ivpn-status.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index 37775e1..556b397 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh echo "=> Determining OS..." diff --git a/scripts/.local/bin/clear-clipboard.sh b/scripts/.local/bin/clear-clipboard.sh index d0efd83..c928871 100755 --- a/scripts/.local/bin/clear-clipboard.sh +++ b/scripts/.local/bin/clear-clipboard.sh @@ -1,4 +1,4 @@ -#!/bin/dash +#!/usr/bin/env dash # Wayland clipboard wl-copy -c diff --git a/scripts/.local/bin/erase-disk.sh b/scripts/.local/bin/erase-disk.sh index f2ad2e0..855af34 100755 --- a/scripts/.local/bin/erase-disk.sh +++ b/scripts/.local/bin/erase-disk.sh @@ -1,4 +1,4 @@ -#!/bin/dash +#!/usr/bin/env dash # USAGE: erase-disk.sh # Must be run as root diff --git a/scripts/.local/bin/update.sh b/scripts/.local/bin/update.sh index 6dc9ece..f806d93 100755 --- a/scripts/.local/bin/update.sh +++ b/scripts/.local/bin/update.sh @@ -1,4 +1,4 @@ -#!/bin/dash +#!/usr/bin/env dash if [ "$(uname -o)" = "Android" ]; then pkg upgrade diff --git a/sway/.config/sway/autostart.sh b/sway/.config/sway/autostart.sh index 9020572..f3a384a 100755 --- a/sway/.config/sway/autostart.sh +++ b/sway/.config/sway/autostart.sh @@ -1,4 +1,4 @@ -#!/bin/dash +#!/usr/bin/env dash sleep 1 diff --git a/waybar/.config/waybar/ivpn-reconnect.sh b/waybar/.config/waybar/ivpn-reconnect.sh index 0cdc255..2d864c5 100755 --- a/waybar/.config/waybar/ivpn-reconnect.sh +++ b/waybar/.config/waybar/ivpn-reconnect.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash ivpn connect -last \ && notify-send -u low "IVPN" "Successfully reconnected to IVPN server:\n$(ivpn status | sed -n 2p | xargs)" \ diff --git a/waybar/.config/waybar/ivpn-status.sh b/waybar/.config/waybar/ivpn-status.sh index 19539d5..704438d 100755 --- a/waybar/.config/waybar/ivpn-status.sh +++ b/waybar/.config/waybar/ivpn-status.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env dash STATUS=`ivpn status | awk '{print "\\\n"$0}'` TOOLTIP=`env echo -E ${STATUS} | cut -c 3-`