feat(scripts): import more scripts from legacy codebase

Plus, in this commit:
* updated most of shell rc and then some

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-01-19 19:22:37 +08:00
parent 22503403bb
commit 81aca31cdf
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
10 changed files with 214 additions and 10 deletions

8
bin/update-discord Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
set -e
# An script to automate upgrading Discord via the deb download link.
# TODO:Implement checks and flags to support for rpms and tar.gz setups
wget "https://discord.com/api/download?platform=linux&format=deb" -O /tmp/discord-linux-amd64.deb
sudo apt install /tmp/discord-linux-amd64.deb