Remove apt support and add xdg-user-dirs-update

This commit is contained in:
Jesús 2021-10-12 15:38:36 -05:00
parent c8c674cc91
commit f8c5197c41
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -22,15 +22,6 @@ do
$root_key pacman -S --noconfirm i3blocks i3lock rofi \
conky acpi scrot sakura feh ranger bubblewrap \
ttf-hack xenocara-xbacklight xdg-user-dirs
elif [[ $(command -v apt-get) ]]; then
$root_key apt update -y
# i3 base
$root_key apt install i3-wm i3status suckless-tools sysstat -y
# i3 blocks and dependecies
$root_key apt install i3blocks i3lock rofi \
conky playerctl acpi network-manager-gnome scrot \
sakura thunar tumbler feh ranger \
fonts-hack-ttf ttf-bitstream-vera xbacklight -y
fi
# Install i3config
@ -72,6 +63,10 @@ do
# clean up temp files
rm -rf /tmp/i3config/
# update xdg-user-dirs
printf '%b%s%b%s%b\n' '\e[1;32m' '==> ' '\e[0m\033[1m' 'Run xdg-user-dirs-update...' '\e[m'
$(command -v xdg-user-dirs-update) && xdg-user-dirs-update
}
case ${LANG/_*/} in