20 lines
460 B
Bash
Executable File
20 lines
460 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIR=$(dirname "$(readlink -f "$0")")
|
|
. "$DIR/../env.sh"
|
|
|
|
# install ranger
|
|
case "$PM" in
|
|
apt)
|
|
sudo apt install -y \
|
|
thunar gvfs-bin gvfs-backends thunar-archive-plugin file-roller tumbler
|
|
;;
|
|
pacman)
|
|
sudo pacman -S --needed \
|
|
thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler
|
|
;;
|
|
esac
|
|
|
|
# symlink configuration
|
|
lnsf "$DIR/Thunar/uca.xml" "$XDG_CONFIG_HOME/Thunar/uca.xml"
|