mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-02 12:47:41 +02:00
Add support for the sway desktop environment (#4357)
Many sway users set $XDG_CURRENT_DESKTOP to sway. This could be detected.
This commit is contained in:
parent
b53e475f99
commit
466cd836d7
@ -162,7 +162,7 @@ DESKTOP=${DESKTOP,,} # convert to lower case
|
|||||||
|
|
||||||
#-----------------------------------------------------
|
#-----------------------------------------------------
|
||||||
echo 'Create Desktop icon...'
|
echo 'Create Desktop icon...'
|
||||||
if [[ $DESKTOP =~ .*gnome.*|.*kde.*|.*xfce.*|.*mate.*|.*lxqt.*|.*unity.*|.*x-cinnamon.*|.*deepin.*|.*pantheon.*|.*lxde.*|.*i3.* ]]
|
if [[ $DESKTOP =~ .*gnome.*|.*kde.*|.*xfce.*|.*mate.*|.*lxqt.*|.*unity.*|.*x-cinnamon.*|.*deepin.*|.*pantheon.*|.*lxde.*|.*i3.*|.*sway.* ]]
|
||||||
then
|
then
|
||||||
# Only delete the desktop file if it will be replaced
|
# Only delete the desktop file if it will be replaced
|
||||||
rm -f ~/.local/share/applications/appimagekit-joplin.desktop
|
rm -f ~/.local/share/applications/appimagekit-joplin.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user