From 7d2ab25601a76a5c9568ec7e2c1db66b3b3b2919 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 12 May 2017 14:39:33 +0200 Subject: use sh instead of bash --- scripts/audio_control.sh | 2 +- scripts/audio_status.sh | 2 +- scripts/media_is_spotify_playing.sh | 2 +- scripts/media_print_spotify_info.sh | 2 +- scripts/media_status.sh | 2 +- scripts/program_starter.sh | 2 +- scripts/toggle_syn_touchpad.sh | 2 +- 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 }'`; -- cgit v1.2.3