aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-10-12 15:38:36 -0500
committerJesús <heckyel@hyperbola.info>2021-10-12 15:38:36 -0500
commitf8c5197c4102847b30629a52fc7a1a812894bd6b (patch)
treefd690b1077699f655f94622ac88d8f26197520e0 /install.sh
parentc8c674cc913ee2869210bc9819185a660fd18ba6 (diff)
downloadi3-config-f8c5197c4102847b30629a52fc7a1a812894bd6b.tar.lz
i3-config-f8c5197c4102847b30629a52fc7a1a812894bd6b.tar.xz
i3-config-f8c5197c4102847b30629a52fc7a1a812894bd6b.zip
Remove apt support and add xdg-user-dirs-update
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/install.sh b/install.sh
index e701420..c4f8562 100644
--- a/install.sh
+++ b/install.sh
@@ -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