Remove apt support and add xdg-user-dirs-update
This commit is contained in:
parent
c8c674cc91
commit
f8c5197c41
13
install.sh
13
install.sh
@ -22,15 +22,6 @@ do
|
|||||||
$root_key pacman -S --noconfirm i3blocks i3lock rofi \
|
$root_key pacman -S --noconfirm i3blocks i3lock rofi \
|
||||||
conky acpi scrot sakura feh ranger bubblewrap \
|
conky acpi scrot sakura feh ranger bubblewrap \
|
||||||
ttf-hack xenocara-xbacklight xdg-user-dirs
|
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
|
fi
|
||||||
|
|
||||||
# Install i3config
|
# Install i3config
|
||||||
@ -72,6 +63,10 @@ do
|
|||||||
|
|
||||||
# clean up temp files
|
# clean up temp files
|
||||||
rm -rf /tmp/i3config/
|
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
|
case ${LANG/_*/} in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user