]> Freerunner's - dotfiles.git/commitdiff
bin: update scripts
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 11 Mar 2024 21:39:18 +0000 (22:39 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:53 +0000 (18:18 +0200)
config/plasma-workspace/scripts/startmpd.sh [deleted file]
local/bin/rgb_simple.sh
local/bin/startmpd.sh [new file with mode: 0755]

diff --git a/config/plasma-workspace/scripts/startmpd.sh b/config/plasma-workspace/scripts/startmpd.sh
deleted file mode 100755 (executable)
index 4ae4a54..0000000
+++ /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
-
-
index 22a054c4c2c90b763eaa907e919e6cfcaf565d73..7018841f89fbdd20fd0e08179bf1fdee768fb179 100755 (executable)
@@ -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 (executable)
index 0000000..040d72e
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+pidof mpd 1> /dev/null || mpd &
+pidof mpd-mpris 1> /dev/null || mpd-mpris &
+