Move the 'xplorer' alias to a binary
Using an alias does not work well when calling it from the WM's launcher.
This commit is contained in:
parent
399b685d3f
commit
9d1859928f
2 changed files with 11 additions and 4 deletions
11
bin/xplorer
Executable file
11
bin/xplorer
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue