Kill services, that are started by sway, first thing when logging in. Turns out logging in actually launches a login shell, but exec prevents it from reading .zlogout.
This commit is contained in:
parent
a3dba69658
commit
3a9a590f9d
|
@ -1,3 +1,12 @@
|
|||
pgrep "^ivpn-service$" &> /dev/null &&
|
||||
ivpn disconnect &> /dev/null
|
||||
doas pkill "^ivpn-service$" &> /dev/null
|
||||
|
||||
pkill "^mako$" &> /dev/null
|
||||
pkill "^pipewire$" &> /dev/null
|
||||
pkill "^pipewire-pulse$" &> /dev/null
|
||||
pkill "^wireplumber$" &> /dev/null
|
||||
|
||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
export $(gnome-keyring-daemon --start)
|
||||
export XDG_CURRENT_DESKTOP=Unity
|
||||
|
|
Loading…
Reference in a new issue