Start kodi when moria boots

This commit is contained in:
Marko Korhonen 2022-08-06 12:19:48 +03:00
parent 4a995cecc8
commit caba64f1e6
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

View File

@ -1,10 +1,6 @@
if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then
{%@@ if profile == 'Moria' @@%}
LIBSEAT_BACKEND=logind gamescope \
-e -f -U \
-W 3840 -H 2160 \
-w 1920 -h 1080 \
-- steam -gamepadui -steamos
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 @@%}