From 4176214ebe734b3d2fa460f50d35f83fb98018be Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Mon, 11 Mar 2024 22:39:18 +0100 Subject: [PATCH] bin: update scripts --- config/plasma-workspace/scripts/startmpd.sh | 13 ------------- local/bin/rgb_simple.sh | 2 +- local/bin/startmpd.sh | 5 +++++ 3 files changed, 6 insertions(+), 14 deletions(-) delete mode 100755 config/plasma-workspace/scripts/startmpd.sh create mode 100755 local/bin/startmpd.sh diff --git a/config/plasma-workspace/scripts/startmpd.sh b/config/plasma-workspace/scripts/startmpd.sh deleted file mode 100755 index 4ae4a541..00000000 --- a/config/plasma-workspace/scripts/startmpd.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if [[ ! $(pidof mpd) ]]; then - mpd & - logger 'mpd started' -fi - -if [[ ! $(pidof mpd-mpris) ]]; then - mpd-mpris & - logger 'mpd-mpris started' -fi - - diff --git a/local/bin/rgb_simple.sh b/local/bin/rgb_simple.sh index 22a054c4..7018841f 100755 --- a/local/bin/rgb_simple.sh +++ b/local/bin/rgb_simple.sh @@ -1,4 +1,4 @@ #!/bin/bash -openrgb -p default +openrgb -p default & diff --git a/local/bin/startmpd.sh b/local/bin/startmpd.sh new file mode 100755 index 00000000..040d72ee --- /dev/null +++ b/local/bin/startmpd.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +pidof mpd 1> /dev/null || mpd & +pidof mpd-mpris 1> /dev/null || mpd-mpris & + -- 2.51.2