dotfiles/thunar/install.sh

20 lines
460 B
Bash
Raw Normal View History

2020-11-02 04:08:18 +00:00
#!/bin/sh
2020-09-17 16:02:24 +00:00
2020-11-08 16:26:14 +00:00
DIR=$(dirname "$(readlink -f "$0")")
2020-11-02 04:08:18 +00:00
. "$DIR/../env.sh"
2020-09-17 16:02:24 +00:00
# install ranger
case "$PM" in
apt)
2020-09-19 02:03:45 +00:00
sudo apt install -y \
2020-09-17 16:02:24 +00:00
thunar gvfs-bin gvfs-backends thunar-archive-plugin file-roller tumbler
;;
pacman)
2020-09-18 18:01:58 +00:00
sudo pacman -S --needed \
2020-09-17 16:02:24 +00:00
thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler
;;
esac
# symlink configuration
2020-11-02 04:08:18 +00:00
lnsf "$DIR/Thunar/uca.xml" "$XDG_CONFIG_HOME/Thunar/uca.xml"