kate: fallback to kwrite

This commit is contained in:
Aminda Suomalainen 2025-06-07 09:47:53 +03:00
parent 431690519e
commit 50c4f98081
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -3,6 +3,9 @@ set -x
# The usual system-wide installation
if [ -f /usr/bin/kate ]; then
/usr/bin/kate "$@"
# I might not even need Kate, but am too used to typing it to remember kwrite
elif [ -f /usr/bin/kwrite ]; then
/usr/bin/kwrite "$@"
# System-wide flatpak
elif [ -f /var/lib/flatpak/exports/bin/org.kde.kate ]; then
flatpak run org.kde.kate "$@"