summaryrefslogtreecommitdiff
path: root/jmPIUS.sh
blob: fa1741c5553034a274524cb50672db1381f3fe09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
########   _     _                        _
########   (_)___| |_ _ __ ___   __ ___  _| |
########   | / __| __| '_ ` _ \ / _` \ \/ / |
########   | \__ \ |_| | | | | | (_| |>  <|_|
########  _/ |___/\__|_| |_| |_|\__,_/_/\_(_)
######## |__/
#######
###### jstmax!'s P.I.U.S. (or jmPostInstallationUtilityScript)
##### written by jstmax! (for personal use)
#### ========================================================
### [n]otes
## [n!1] i personally recommend you to run this script after freshly installing arch linux
# [n!2] if you wanna use archinstall, select minimal installation


# create working directory - 
sudo mkdir ~/.jmtemp/
export jmtemp='~/.jmtemp'

## move to working dir
cd $jmtemp

### install pacman packages
sudo wget -P $jmtemp/ https://github.com/jstmaxlol/jstmaxlol/raw/refs/heads/main/towget/jm_pkgs_list.txt
sudo pacman -Sy --noconfirm --needed - < $jmtemp/jm_pkgs_list.txt

#### do! instead of gcc/g++
sudo wget -P $jmtemp/ https://github.com/jstmaxlol/ecah-lib/raw/refs/heads/main/examples/do.cpp
sudo wget -P $jmtemp/ https://github.com/jstmaxlol/ecah-lib/raw/main/ecah-lib.h
sudo g++ -o do $jmtemp/do.cpp
sudo cp $jmtemp/do /usr/bin/do
sudo chmod +x /usr/bin/do

##### make fish the default shell
echo /usr/local/bin/fish | sudo tee -a /etc/shells && chsh -s /usr/local/bin/fish

###### do fish prompt stuff
sudo wget -P ~/.config/fish/functions/ https://github.com/jstmaxlol/jstmaxlol/raw/refs/heads/main/towget/fish_prompt.fish
sudo wget -P ~/.config/fish/functions/ https://github.com/jstmaxlol/jstmaxlol/raw/refs/heads/main/towget/fish_right_prompt.fish

####### install my scheiBe from github
####### xsc
sudo wget -P $jmtemp/ https://github.com/jstmaxlol/XSC/raw/main/xsc.cpp
sudo g++ -o xsc $jmtemp/xsc.cpp
sudo cp $jmtemp/xsc /usr/bin/xsc
sudo chmod +x /usr/bin/xsc
######## lsd
sudo wget -P $jmtemp/ https://github.com/jstmaxlol/LSD/raw/main/lsd.sh
sudo cp $jmtemp/lsd.sh /usr/bin/lsd
sudo chmod +x /usr/bin/lsd

######### add custom ~/.vimrc
sudo wget -P ~/ https://github.com/jstmaxlol/jstmaxlol/raw/main/.vimrc

########## final bye bye message and notif :3
echo "[n!a]     dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ###### 1
echo "[n!aa]        dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ##### 2
echo "[n!aaa]           dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" #### 3
echo "[n!aaaa]              dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ### 4
echo "[n!aaaaa]                 dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ## 5
echo "[n!aaaaaa]                    dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" # 6