-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
executable file
·69 lines (59 loc) · 2.57 KB
/
setup
File metadata and controls
executable file
·69 lines (59 loc) · 2.57 KB
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
#### Check for yay ####
ISYAY=/sbin/yay
if [ -f "$ISYAY" ]; then
echo -e "yay was located, moving on.\n"
yay -Suy
else
echo -e "yay was not located, please install yay.\n"
exit
fi
read -n1 -rep 'Would you like to install the packages? (y,n)' INST
if [[ $INST == "Y" || $INST == "y" ]]; then
yay -S --noconfirm bspwm sxhkd rofi neovim alacritty zsh polybar \
cmatrix cbonsai gotop htop tree thunar gvfs brave-bin feh xarchiver \
zip unzip git wget github-cli openssh code lightdm xorg-server lsd \
lightdm-gtk-greeter nm-applet ttf-anonymouspro-nerd picom libnotify\
xdg-user-dirs blender gimp vlc spotify neofetch betterlockscreen\
lightdm-webkit2-greeter dunst ristretto xfce4-screenshooter mousepad \
galculator ranger ncdu arc-icon-theme nordic-darker-theme pamixer \
cups cups-pdf gtklp system-config-printer epdfview-gtk3 plex-media-player \
xorg-drivers xorg-xkill xorg base-devel gparted nerdfetch networkmanager \
lxappearance thunar-archive-plugin thunar-volman thunar-media-tags-plugin \
xfce xfce4-session ttf-mononoki-nerd ttf-hack-nerd arc-gtk-theme gtk-engine-murrine \
calc make cmake bison btop pasystray
sudo systemctl enable NetworkManager
sudo systemctl enable lightdm
sudo systemctl enable cups #printers
xdg-user-dirs-update
fi
read -n1 -rep 'Would you like to install AMD GPU drivers (y,n)' INST
if [[ $INST == "Y" || $INST == "y" ]]; then
yay -S --noconfirm mesa xf86-video-amd-gpu xf86-video-amdgpu libva-mesa-driver
fi
read -n1 -rep 'Would you like to install laptop packages? (y,n)' LAPTOP
if [[ $LAPTOP == "Y" || $LAPTOP == "y" ]]; then
yay -S --noconfirm brightnessctl xfce4-power-manager
fi
read -n1 -rep 'Would you like to copy config files? (y,n)' CFG
if [[ $CFG == "Y" || $CFG == "y" ]]; then
echo -e "Copying config files...\n"
cp -R config/* ~/.config/
fi
read -n1 -rep 'Would you like to install zsh extensions? (y,n)' ZSH
if [[ $ZSH == "Y" || $ZSH == "y" ]]; then
mkdir ~/.config/zsh
cd ~/.confing/zsh
git clone https://github.com/romkatv/powerlevel10k.git
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
git clone https://github.com/zsh-users/zsh-autosuggestions.git
git clone https://github.com/zsh-users/zsh-history-substring-search.git
git clone https://github.com/MichaelAquilina/zsh-auto-notify.git
cd -
fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
setxkbmap -layout pl #set keyboard layout
chsh -s /bin/zsh #shell change
# TODO
# betterlockscreen init and load wallpaper
# xfce theme setup
# dunst config