13 lines
224 B
Plaintext
13 lines
224 B
Plaintext
|
#!/bin/sh
|
||
|
# Launches ranger into its own terminal if
|
||
|
# not run from a terminal (like from bemenu)
|
||
|
|
||
|
if ! [[ -t 0 && -t 1 && -t 2 ]]; then
|
||
|
if [[ -n $DISPLAY ]]; then
|
||
|
kitty /usr/bin/ranger
|
||
|
fi
|
||
|
else
|
||
|
/usr/bin/ranger
|
||
|
fi
|
||
|
|