mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 00:32:52 +00:00
Merge pull request #201 from drokath/feature/generic_handhelds
feat: add handygccs
This commit is contained in:
commit
a362df1806
@ -284,6 +284,7 @@ RUN rpm-ostree install \
|
||||
jupiter-fan-control \
|
||||
jupiter-hw-support-btrfs \
|
||||
powerbuttond \
|
||||
HandyGCCS \
|
||||
vpower \
|
||||
ds-inhibit \
|
||||
steam_notif_daemon \
|
||||
@ -411,6 +412,7 @@ RUN rm /usr/share/applications/wine*.desktop && \
|
||||
systemctl enable sddm.service \
|
||||
; fi && \
|
||||
systemctl enable bazzite-autologin.service && \
|
||||
systemctl enable handycon.service && \
|
||||
systemctl enable jupiter-fan-control.service && \
|
||||
systemctl enable btrfs-dedup@run-media-mmcblk0p1.timer && \
|
||||
systemctl enable vpower.service && \
|
||||
|
@ -24,11 +24,13 @@ elif [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then
|
||||
else
|
||||
sed -i 's/.*Session=.*/Session=plasmax11.desktop/g' ${SDDM_CONF}
|
||||
fi
|
||||
systemctl stop handycon.service
|
||||
elif [[ ${BASE_IMAGE_NAME} =~ "silverblue" ]]; then
|
||||
if ${DESKTOP_WAYLAND}; then
|
||||
sed -i 's/.*Session=.*/Session=gnome-wayland.desktop/g' ${SDDM_CONF}
|
||||
else
|
||||
sed -i 's/.*Session=.*/Session=gnome-xorg.desktop/g' ${SDDM_CONF}
|
||||
fi
|
||||
systemctl stop handycon.service
|
||||
fi
|
||||
sed -i 's/.*User=.*/User='${USER}'/g' ${SDDM_CONF}
|
||||
|
@ -121,6 +121,12 @@ fi
|
||||
echo "Session=$session_launcher"
|
||||
} > "$CONF_FILE"
|
||||
|
||||
if [[ $session_launcher = "gamescope-session.desktop" ]]; then
|
||||
systemctl start handycon.service
|
||||
else
|
||||
systemctl stop handycon.service
|
||||
fi
|
||||
|
||||
echo "Updated system autologin session to $session_launcher"
|
||||
systemctl reset-failed sddm
|
||||
systemctl restart sddm
|
||||
|
Loading…
x
Reference in New Issue
Block a user