Skip to content

Commit

Permalink
Merge pull request lagerspetz#1 from ciubotaru/patch-1
Browse files Browse the repository at this point in the history
Detect LXDE desktop environment
  • Loading branch information
lagerspetz authored Oct 12, 2017
2 parents 985706e + e3f5993 commit f52fac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/saferm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ trash_desktops="$HOME/.local/share/Trash/files"
trash_fallback="$HOME/Trash"

# use .local/share/Trash?
use_desktop=$( ps -U $USER | grep -E "gnome-settings|startkde|mate-session|mate-settings|mate-panel|gnome-shell" )
use_desktop=$( ps -U $USER | grep -E "gnome-settings|startkde|mate-session|mate-settings|mate-panel|gnome-shell|lxsession" )

# mounted filesystems, for avoiding cross-device move on safe delete
filesystems=$( mount | awk '{print $3; }' )
Expand Down

0 comments on commit f52fac5

Please sign in to comment.