Start kodi when moria boots

main
Marko Korhonen 2 years ago
parent 4a995cecc8
commit caba64f1e6
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

@ -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 @@%}

Loading…
Cancel
Save