summaryrefslogtreecommitdiff
path: root/jmPIUS.sh
blob: b0fa9837fa6bd1849fe27f8378d05ee7caa73cec (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
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/bin/bash
#
##
###
####
#####
######
#######
########        _     _                        _
#########      (_)___| |_ _ __ ___   __ ___  _| |
##########     | / __| __| '_ ` _ \ / _` \ \/ / |
###########    | \__ \ |_| | | | | | (_| |>  <|_|
##########    _/ |___/\__|_| |_| |_|\__,_/_/\_(_)
#########    |__/
#######
######       jstmax!'s P.I.U.S. | jstmax!'s Post Installation Utility Script Part 1/2 (piusAuto)
#####        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/
echo -e "\n\n\n> creating working directory at ~/.jmtemp ..\n\n"

## move to working dir
cd ~/.jmtemp/
echo -e "\n\n\n> cding (moving) to working dir ..\n\n"

### install pacman packages
sudo wget -P ~/.jmtemp/ https://github.com/jstmaxlol/jstmaxlol/raw/refs/heads/main/towget/jm_pkgs_list.txt
grep -v '^#' ~/.jmtemp/jm_pkgs_list.txt | tr -d '\r' | xargs sudo pacman -Syu --noconfirm
echo -e "\n\n\n> installing pacman packages ..\n\n"

####
##### make fish the default shell
echo /usr/local/bin/fish | sudo tee -a /etc/shells && chsh -s /usr/local/bin/fish
echo -e "\n\n\n> setting fish as default shell ..\n\n"

###### 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
echo -e "\n\n\n> setting fish prompts ..\n\n"

####### install some of 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
echo -e "\n\n\n> installing xsc ..\n\n"
########
######### add custom ~/.vimrc
sudo wget -P ~/ https://github.com/jstmaxlol/jstmaxlol/raw/main/.vimrc
echo -e "\n\n\n> adding custom ~/.vimrc ..\n\n"

########## install yay
echo -e "\n\n\n> installing yay - start..\n\n"
cd ~ && sudo pacman -S --needed --noconfirm git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
echo -e "\n\n\n> installing yay - end.\n\n"

########### 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
echo "[n!aaaaa]                 dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ## 5
echo "[n!aaaa]              dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ### 4   
echo "[n!aaa]           dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" #### 3
echo "[n!aa]        dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ##### 2
echo "[n!a]     dO nOT fORGET tO rEBOOT yOUR sYSTEM!!!!!!!!!!!" ###### 1