mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
8 lines
438 B
Bash
8 lines
438 B
Bash
if [[ -z $DISPLAY && $XDG_VTNR -eq 1 && -z "$SSH_CONNECTION" ]]; then
|
|
{%@@ if profile == 'Moria' @@%}
|
|
systemctl --user mask pipewire.service pipewire-pulse.service && systemctl --user stop pipewire.service pipewire-pulse.service && kodi; systemctl --user unmask pipewire.service pipewire-pulse.service && systemctl --user start pipewire.service pipewire-pulse.service
|
|
{%@@ elif profile == 'Mirkwood' @@%}
|
|
sway-run
|
|
{%@@ endif @@%}
|
|
fi
|