-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathendevour-sway.py
35 lines (32 loc) · 1.59 KB
/
endevour-sway.py
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
from os import system
import time
n = " --noconfirm "
p = "pacman "
s = "sudo "
system(s + p + "-Syyu " + n)
system(
s
+ p
+ "-S --needed git clang neofetch xorg egl-wayland mesa go mkinitcpio nano sl discord dbus htop base-devel wget curl make gcc jdk8-openjdk steam zsh "
+ n +" && cd /tmp/ && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --needed "+n
)
system("cd ~/ && git clone https://bitbucket.org/joshylphd/dotfiles ~/.dotfiles")
system("yay -Syyu " + n)
system("yay -S --needed inetutils fusepak blueman bluez virt-manager qemu-tools qemu-system-x86 qemu-img jdk17-openjdk partitionmanager firewalld podman brave-bin dolphin ark konsole jre17-openjdk brave-bin kcalc filelight plasma-systemmonitor prismlauncher-bin timeshift-bin visual-studio-code-bin " + n)
system("curl https://sh.rustup.rs -sSf | sh -s -- -y")
system("rustup update")
system("rustup toolchain install nightly")
system("rustup component add rust-src")
system("rustup target install x86_64-pc-windows-gnu ")
system(s+"rm -fr ~/.oh-my-zsh")
system('sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended')
system(s+" git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions")
system("rm ~/.zshrc && rm ~/.zshenv")
system("ln -s ~/.dotfiles/.zshrc ~/.zshrc && ln -s ~/.dotfiles/zshenv ~/.zshenv")
system(s+"chsh -s $(which zsh)")
system(s+"modprobe nbd max_part=8")
print("you should reboot")
#pluginsgit
# extract rust sudo python zsh-autosuggestions
#ZSH_THEME
# gnzh