New folder structure
This commit is contained in:
17
System/soundApplets.sh
Executable file
17
System/soundApplets.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user