chore: Move logind changes to file in /etc for easy customization

This commit is contained in:
Kyle Gospodnetich 2024-05-24 17:15:51 -07:00
parent 46d0a6c7da
commit bd612e013a
2 changed files with 2 additions and 1 deletions

View File

@ -750,7 +750,6 @@ RUN /usr/libexec/containerbuild/image-info && \
; fi && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/input-remapper-gtk.desktop && \
cp "/usr/share/ublue-os/firstboot/yafti.yml" "/usr/etc/yafti.yml" && \
sed -i 's/#HandlePowerKey=poweroff/HandlePowerKey=suspend/g' /usr/lib/systemd/logind.conf && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo && \

View File

@ -0,0 +1,2 @@
HandlePowerKey=suspend
KillUserProcesses=true