DSK: Add fallbacks for TERMINAL

This commit is contained in:
Salt 2018-12-25 20:28:53 -06:00
parent c4c0f417e7
commit 3dec1c4d1f
2 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,12 @@
#
export XDG_CURRENT_DESKTOP="KDE"
export TERMINAL="konsole"
for term in konsole xfce4-terminal urxvt xterm; do
if command -v "$term" > /dev/null 2>&1; then
export TERMINAL="$term"
break
fi
done
export DSK_FLAG_MASK=""
export DSK_CURRENT_DESKTOP="$DSK_NAME"

View File

@ -147,7 +147,7 @@ Size=32
[DirSelect Dialog]
DirSelectDialog Size=640,480
History Items[$e]=file:///,file:///run,file:///tmp
History Items[$e]=file:$HOME/Videos/Animu/Jojo's Bizarre Adventure,file:///,file:///run,file:///tmp
[General]
ColorScheme=Gruvbox Dark - KODE