mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-27 03:35:15 +00:00
fix(deck): Adjust shortcut to trigger service to return to gaming mode
This commit is contained in:
parent
a7589773b6
commit
2c391a4474
@ -376,6 +376,9 @@ RUN rm /usr/share/applications/wine*.desktop && \
|
||||
mkdir -p "/usr/etc/xdg/autostart" && \
|
||||
cp "/usr/share/applications/steam.desktop" "/usr/etc/xdg/autostart/steam.desktop" && \
|
||||
sed -i 's@/usr/bin/bazzite-steam %U@/usr/bin/bazzite-steam -silent %U@g' /usr/etc/xdg/autostart/steam.desktop && \
|
||||
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
||||
sed -i 's/Exec=.*/Exec=systemctl start return-to-gamemode.service/' /etc/skel/Desktop/Return.desktop \
|
||||
; fi && \
|
||||
cp "/usr/share/applications/discover_overlay.desktop" "/usr/etc/xdg/autostart/discover_overlay.desktop" && \
|
||||
sed -i 's@Exec=discover-overlay@Exec=/usr/bin/bazzite-discover-overlay@g' /usr/etc/xdg/autostart/discover_overlay.desktop && \
|
||||
rm /usr/share/applications/discover_overlay.desktop && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user