summaryrefslogtreecommitdiff
path: root/static/thesiah-debian.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-07-11 00:02:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-07-11 00:02:37 +0900
commitdc7be883d2cab411c7064e917f483de4264ecbad (patch)
tree2726b0cbab85805041b668b478eeac39f0d53e7e /static/thesiah-debian.sh
parent2f8569fcec6d4ec7b3e4b26208e812acefd41ed6 (diff)
Init
Diffstat (limited to 'static/thesiah-debian.sh')
-rwxr-xr-xstatic/thesiah-debian.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/static/thesiah-debian.sh b/static/thesiah-debian.sh
index 9b96052..9e4fd9f 100755
--- a/static/thesiah-debian.sh
+++ b/static/thesiah-debian.sh
@@ -155,7 +155,10 @@ vimplugininstall() {
}
lfinstall() {
- env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gokcehan/lf@latest || return
+ download_url=$(curl -s https://api.github.com/repos/gokcehan/lf/releases/latest | jq -r '.assets[] | select(.name == "lf-linux-amd64.tar.gz") | .browser_download_url')
+ curl -LO "$download_url"
+ tar xzf lf-linux-amd64.tar.gz
+ mv lf /usr/bin/lf
}
zoxideinstall() {
@@ -259,6 +262,8 @@ gnupginstall() {
}
finalize() {
+ ln -sf /home/"$name"/.dotfiles/default/Pictures/wallpaper/bg.png /home/"$name"/.local/share/bg
+ chown -h "$name":sudo /home/"$name"/.local/share/bg
whiptail --title "All done!" \
--msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\\n\\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment (it will start automatically in tty1).\\n\\n.t Soomin" 13 80
}