dotfiles/bin/xplorer
Rodolphe Breard 9d1859928f Move the 'xplorer' alias to a binary
Using an alias does not work well when calling it from the WM's
launcher.
2016-10-31 18:03:54 +01:00

11 lines
157 B
Bash
Executable file

#!/bin/sh
set -euo pipefail
IFS=$'\n\t'
for name in 'pcmanfm' 'thunar'; do
if hash "$name" 2>/dev/null; then
"$name"
break
fi
done