Files
unix-scripts/System/soundApplets.sh
2023-04-03 17:47:42 +02:00

18 lines
269 B
Bash
Executable File

#!/bin/sh
SERVICE1="pa-applet"
SERVICE2="blueman-applet"
if pgrep -x "$SERVICE1" >/dev/null
then
killall "$SERVICE1"
else
~/Paquetes/pa-applet/src/pa-applet &
fi
bluetoothctl power on
if pgrep -x "$SERVICE2" >/dev/null
then
killall "$SERVICE2"
else
$SERVICE2 &
fi