2020-09-17 10:24:35 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DIR=$(readlink -f $(dirname $0))
|
|
|
|
. $DIR/../env.sh
|
|
|
|
|
|
|
|
# install ranger
|
|
|
|
case "$PM" in
|
|
|
|
apt)
|
|
|
|
! which pip3 && $ROOT/python/install.sh
|
2020-09-17 16:02:24 +00:00
|
|
|
sudo pip3 install ranger-fm ueberzug
|
2020-09-17 10:24:35 +00:00
|
|
|
;;
|
|
|
|
pacman)
|
2020-09-18 18:01:58 +00:00
|
|
|
sudo pacman -S --needed ranger ueberzug
|
2020-09-17 10:24:35 +00:00
|
|
|
;;
|
|
|
|
esac
|
2020-09-17 10:42:43 +00:00
|
|
|
|
|
|
|
lnsf $DIR/config ~/.config/ranger
|