mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 18:32:48 +00:00
feat(kde): Change default pinned application list
This commit is contained in:
parent
3de83ce5e1
commit
e0586e50ec
@ -326,7 +326,8 @@ RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
|
||||
kpackagetool5 --type=KWin/Script --global --install /tmp/kwin-system76-scheduler-integration && \
|
||||
kpackagetool5 --type=Plasma/Wallpaper --global --install /tmp/wallpaper-engine-kde-plugin/plugin && \
|
||||
rm -rf /tmp/kwin-system76-scheduler-integration && \
|
||||
rm -rf /tmp/wallpaper-engine-kde-plugin \
|
||||
rm -rf /tmp/wallpaper-engine-kde-plugin && \
|
||||
sed -i '/<entry name="launchers" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,applications:steam.desktop,applications:net.lutris.Lutris.desktop,applications:org.gnome.Prompt.desktop,applications:org.kde.discover.desktop,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml \
|
||||
; else \
|
||||
rpm-ostree override replace \
|
||||
--experimental \
|
||||
|
@ -63,19 +63,12 @@ if [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
|
||||
echo 'Enabling System76-Scheduler KWin script'
|
||||
kwriteconfig5 --file kwinrc --group Plugins --key kwin-system76-scheduler-integrationEnabled true
|
||||
|
||||
echo 'Creating Desktop shortcuts'
|
||||
mkdir -p $HOME/Desktop/
|
||||
if [[ ! -f "$HOME/Desktop/steam.desktop" ]]; then
|
||||
cp "/usr/share/applications/steam.desktop" "$HOME/Desktop/steam.desktop"
|
||||
fi
|
||||
if [[ ! -f "$HOME/Desktop/net.lutris.Lutris.desktop" ]]; then
|
||||
cp "/usr/share/applications/net.lutris.Lutris.desktop" "$HOME/Desktop/net.lutris.Lutris.desktop"
|
||||
fi
|
||||
|
||||
if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegame" ]]; then
|
||||
echo 'Running setup for Kinoite on Steam Deck'
|
||||
if [[ ! -f "$HOME/Desktop/Return.desktop" ]]; then
|
||||
cp "/etc/skel.d/Desktop/Return.desktop" "$HOME/Desktop/Return.desktop"
|
||||
echo 'Re-creating return to gamemode shortcut'
|
||||
mkdir -p $HOME/Desktop/
|
||||
cp "/etc/skel/Desktop/Return.desktop" "$HOME/Desktop/Return.desktop"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user