Skip to content

Commit

Permalink
feat(kde): Use prompt for control+alt+t shortcut by default, hide Kon…
Browse files Browse the repository at this point in the history
…sole (This will be restorable via ujust before reaching stable)
  • Loading branch information
KyleGospo committed Jan 9, 2024
1 parent 49e7786 commit e8afaa7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,12 @@ RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
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 && \
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 \
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 && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.kde.konsole.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nX-KDE-AuthorizeAction=shell_access@g' /usr/share/applications/org.gnome.Prompt.desktop && \
sed -i 's@\[Desktop Action new-window\]@\[Desktop Action new-window\]\nX-KDE-Shortcuts=Ctrl+Alt+T\nX-KDE-AuthorizeAction=shell_access@g' /usr/share/applications/org.gnome.Prompt.desktop && \
cp /usr/share/applications/org.gnome.Prompt.desktop /usr/share/kglobalaccel/org.gnome.Prompt.desktop && \
rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop \
; else \
rpm-ostree override replace \
--experimental \
Expand Down

0 comments on commit e8afaa7

Please sign in to comment.