tweak restart scripts
This commit is contained in:
parent
6644bddb74
commit
1e68f959a2
11
home/default/scripts/restart-bluetooth
Executable file
11
home/default/scripts/restart-bluetooth
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo stopping bluetooth-autoconnect...
|
||||||
|
sudo systemctl stop bluetooth-autoconnect
|
||||||
|
echo stopping bluetooth...
|
||||||
|
sudo systemctl stop bluetooth
|
||||||
|
echo starting bluetooth...
|
||||||
|
sudo systemctl start bluetooth
|
||||||
|
echo starting bluetooth-autoconnect...
|
||||||
|
sudo systemctl start bluetooth-autoconnect
|
@ -13,11 +13,6 @@ fi
|
|||||||
# systemctl --user stop pipewire-media-session
|
# systemctl --user stop pipewire-media-session
|
||||||
echo stopping pipewire...
|
echo stopping pipewire...
|
||||||
systemctl --user stop pipewire
|
systemctl --user stop pipewire
|
||||||
echo starting pipewire...
|
|
||||||
systemctl --user start pipewire
|
|
||||||
# echo starting pipewire-media-session...
|
|
||||||
# systemctl --user start pipewire-media-session
|
|
||||||
|
|
||||||
echo stopping mpDris2...
|
echo stopping mpDris2...
|
||||||
systemctl --user stop mpd-mpris
|
systemctl --user stop mpd-mpris
|
||||||
echo stopping mpd...
|
echo stopping mpd...
|
||||||
|
Loading…
Reference in New Issue
Block a user