diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2017-05-12 14:39:33 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2017-05-12 14:39:33 +0200 |
| commit | 7d2ab25601a76a5c9568ec7e2c1db66b3b3b2919 (patch) | |
| tree | f824a0f3f33e644e33ae14c4c40adc941132ddae | |
| parent | 8189956aa35a18bcaba2a02fd14efc555a33e5e5 (diff) | |
| download | dotfiles-7d2ab25601a76a5c9568ec7e2c1db66b3b3b2919.tar.gz dotfiles-7d2ab25601a76a5c9568ec7e2c1db66b3b3b2919.zip | |
use sh instead of bash
| -rwxr-xr-x | scripts/audio_control.sh | 2 | ||||
| -rwxr-xr-x | scripts/audio_status.sh | 2 | ||||
| -rwxr-xr-x | scripts/media_is_spotify_playing.sh | 2 | ||||
| -rwxr-xr-x | scripts/media_print_spotify_info.sh | 2 | ||||
| -rwxr-xr-x | scripts/media_status.sh | 2 | ||||
| -rwxr-xr-x | scripts/program_starter.sh | 2 | ||||
| -rwxr-xr-x | 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 }'`; |
