14 lines
357 B
Bash
14 lines
357 B
Bash
kill_services() {
|
|
pgrep "^ivpn-service$" && ivpn disconnect
|
|
doas pkill "^ivpn-service$"
|
|
|
|
pkill "^mako$"
|
|
pkill "^wireplumber$"
|
|
pkill "^pipewire-pulse$"
|
|
pkill "^pipewire$"
|
|
}
|
|
|
|
[[ $(uname -o) == "GNU/Linux" ]] && [[ $(lsb_release -si) == "Artix" ]] && [[ $(tty) == "/dev/tty1" ]] &&
|
|
kill_services >/dev/null
|
|
unfunction kill_services
|