aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/audio_control.sh2
-rwxr-xr-xscripts/audio_status.sh2
-rwxr-xr-xscripts/media_is_spotify_playing.sh2
-rwxr-xr-xscripts/media_print_spotify_info.sh2
-rwxr-xr-xscripts/media_status.sh2
-rwxr-xr-xscripts/program_starter.sh2
-rwxr-xr-xscripts/toggle_syn_touchpad.sh2
7 files changed, 7 insertions, 7 deletions
diff --git a/scripts/audio_control.sh b/scripts/audio_control.sh
index 2dc4515..7bbf7df 100755
--- a/scripts/audio_control.sh
+++ b/scripts/audio_control.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
if type pamixer &> /dev/null
then
diff --git a/scripts/audio_status.sh b/scripts/audio_status.sh
index 45f4a66..84a6a01 100755
--- a/scripts/audio_status.sh
+++ b/scripts/audio_status.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
function print_mute {
echo -n "M "
diff --git a/scripts/media_is_spotify_playing.sh b/scripts/media_is_spotify_playing.sh
index f4f32a5..f337dea 100755
--- a/scripts/media_is_spotify_playing.sh
+++ b/scripts/media_is_spotify_playing.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# this script returns 0 if spotify is playing 1 otherwise
diff --git a/scripts/media_print_spotify_info.sh b/scripts/media_print_spotify_info.sh
index 3171023..5a53149 100755
--- a/scripts/media_print_spotify_info.sh
+++ b/scripts/media_print_spotify_info.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
metadata=$(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata')
diff --git a/scripts/media_status.sh b/scripts/media_status.sh
index a2a7530..ab169c0 100755
--- a/scripts/media_status.sh
+++ b/scripts/media_status.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
mpd_playing=$(mpc 2>/dev/null | grep "\[playing\]")
spotify_playing=$($DOTFILES_LOCATION/scripts/media_is_spotify_playing.sh)
diff --git a/scripts/program_starter.sh b/scripts/program_starter.sh
index afe2e6c..6da7710 100755
--- a/scripts/program_starter.sh
+++ b/scripts/program_starter.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
if type rofi &>/dev/null
then
diff --git a/scripts/toggle_syn_touchpad.sh b/scripts/toggle_syn_touchpad.sh
index 9cc88a9..38dba25 100755
--- a/scripts/toggle_syn_touchpad.sh
+++ b/scripts/toggle_syn_touchpad.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
STATE=`synclient -l | grep TouchpadOff | awk '{ print $3 }'`;