-
Notifications
You must be signed in to change notification settings - Fork 0
/
important.sh
executable file
·81 lines (58 loc) · 2.45 KB
/
important.sh
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
76
77
78
79
80
81
# nozomi
# hitomi
# Томас Лиготти
# Наяль Давье
# Everywhere at the end of time
# Mirrors
# sudo cp -vf /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
# sudo curl -o /etc/pacman.d/mirrorlist "https://archlinux.org/mirrorlist/?country=SK&protocol=http&protocol=https&ip_version=4&ip_version=6"
# pv
# gdb --batch-silent -ex "attach $$" -ex 'set bind_variable("dte", "$dte", 0)'
# Write iso
# sudo dd bs=4M if=~/Downloads/manjaro.iso of=/dev/sdg status=progress oflag=sync
# Swap Caps Lock and Esc
# localectl --no-convert set-x11-keymap us,ru,ua,sk "" ",,,qwerty" caps:escape,grp_led:scroll,altwin:menu_super
# Enable magic SysRq key
# su -c "echo 1 > /proc/sys/kernel/sysrq"
# Sync time
# sudo ntpd -qg
# man-pages anbox
# disable while typing
# syndaemon -i 1.0 -K -t -d
set -e
dependencies=(
"noto-fonts" "noto-fonts-emoji"
"clang" "typescript" "racket" "nodejs" "npm" "python" "python3" "lua"
"rustup"
"python-pip" "ccls" "cmake" "luarocks" "luajit" "lua-language-server"
"bash-language-server" "yaml-language-server"
"neovim" "btop" "mpv" "qutebrowser" "foliate""zathura-pdf-mupdf" "zathura"
"keepassxc" "tree-sitter" "copyq" "flameshot" "rofi" "rofi-calc" "rofi-pass"
"thunar" "alacritty" "flameshot" "pdfjs" "pavucontrol" "libreoffice-fresh"
"bspwm" "picom" "sxhkd" "xcape"
"linux-headers"
"exa" "acpilight" "fd" "ripgrep" "xclip" "zsh" "playerctl" "pacman-contrib"
"ffmpeg" "fzf" "zsh-autosuggestions" "xdo" "cron" "feh" "thefuck"
"neofetch" "cowsay" "highlight" "inotify-tools" "inetutils" "tor" "git"
"ranger" "gvfs" "gvfs-mtp" "unrar" "rsync" "pipewire" "pipewire-media-session"
"pipewire-pulse" "bluez-utils" "yt-dlp" "openssh" "redshift" "gdb"
"gtk3" "gtk4" "gtk2" "openssl" "hunspell" "hunspell-en_US"
"ascii" "ueberzug" # attention
)
maybe=(
"i2pd" "yggdrasil" "exfat-utils"
)
rustup default stable
sudo pacman -Suyy --needed ${dependencies[@]}
sudo pacman -S --needed git base-devel linux-headers &&
git clone https://aur.archlinux.org/paru.git &&
cd paru &&
makepkg -si
sudo npm -g i typescript-language-server yarn vscode-langservers-extracted
sudo pip install black python-language-server pykeepass
paru -S splatmoji ttf-dejavu-sans-mono-powerline-git xkb-switch \
unipicker nerd-fonts \
ttf-meslo-nerd-font-powerlevel10k tex-gyre-math-fonts \
ttf-cm-unicode xwinwrap
sudo luarocks install --server=https://luarocks.org/dev luaformatter
# android-completion and android-bash-completion