2022-04-13 21:24:16 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# shellcheck disable=SC2086
|
2023-04-08 19:28:19 +00:00
|
|
|
set -e
|
2023-04-09 03:46:35 +00:00
|
|
|
alias s=sudo g=git
|
|
|
|
|
|
|
|
s pacman -Syu git
|
|
|
|
git clone https://aur.archlinux.org/yay-bin.git ~/.yay
|
|
|
|
cd ~/.yay && makepkg -si
|
|
|
|
|
|
|
|
pkgs="abiword arch-install-scripts aria2 audacious audacity autojump apparmor avidemux-qt
|
2023-05-02 17:50:07 +00:00
|
|
|
bleachbit bzip3 ccache cpupower diffoscope difftastic dolphin-emu dracula-gtk-theme dwarfs-git engrampa fd
|
2023-04-09 03:46:35 +00:00
|
|
|
fish flyctl-bin fq fzf gifsicle gimp gnome-disk-utility gnome-keyring gnome-system-monitor gurk-bin
|
|
|
|
hblock htop ifuse imagemagick innoextract intel-media-driver jdupes jpegoptim jq keepassxc
|
|
|
|
kitty libjxl lynx man-db man-pages megatools mkvtoolnix-gui moreutils mpv musikcube
|
2023-05-02 17:50:07 +00:00
|
|
|
ncdu netsurf neovim nicotine+ nnn noto-fonts noto-fonts-cjk noto-fonts-emoji nsz opus-tools
|
2023-04-09 03:46:35 +00:00
|
|
|
oxipng p7zip pandoc parallel pdfjs perl-parallel-forkmanager pngquant power-profiles-daemon
|
|
|
|
proot pup-bin python-adblock python-pipx python-readability-lxml qrencode qt5-styleplugins
|
|
|
|
qt6gtk2 qutebrowser ripgrep-all rofi sass shellcheck sof-firmware spek squashfs-tools
|
|
|
|
squashfuse starship stow sxiv syncthing tig ttf-ubuntu-font-family torsocks tuc-bin
|
|
|
|
upx usbmuxd wimlib wit xsel yt-dlp zathura-cb zathura-djvu zathura-pdf-mupdf"
|
|
|
|
yay -S $pkgs
|
2021-10-27 06:58:27 +00:00
|
|
|
|
2022-01-15 18:31:54 +00:00
|
|
|
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
2022-09-09 18:54:48 +00:00
|
|
|
mkdir -p ~/.parallel/will-cite
|
2021-09-25 05:28:09 +00:00
|
|
|
|
2023-03-27 15:33:00 +00:00
|
|
|
wget https://github.com/dracula/rofi/raw/main/theme/config2.rasi -P ~/.config/rofi
|
2022-11-10 02:58:23 +00:00
|
|
|
wget https://github.com/dracula/kitty/raw/master/dracula.conf -P ~/.config/kitty
|
2023-04-08 19:28:19 +00:00
|
|
|
wget https://github.com/dracula/musikcube/raw/main/dracula.json -P ~/.config/musikcube/themes
|
2022-11-10 02:58:23 +00:00
|
|
|
|
2022-09-09 18:54:48 +00:00
|
|
|
wget https://github.com/mrzool/bash-sensible/raw/master/sensible.bash -O ~/.bashrc
|
2022-05-27 18:05:57 +00:00
|
|
|
wget https://github.com/savq/paq-nvim/raw/master/lua/paq.lua -P ~/.config/nvim/lua
|
2022-04-25 22:18:33 +00:00
|
|
|
wget https://source.netsurf-browser.org/netsurf.git/plain/resources/adblock.css\
|
|
|
|
https://nitter.it/css/themes/dracula.css -P ~/.config/qutebrowser
|
2022-11-10 02:58:23 +00:00
|
|
|
|
2022-02-19 04:04:40 +00:00
|
|
|
un(){ F=$(mktemp); mkdir -p "$2"; curl https://api.github.com/repos/"$1"/releases |\
|
|
|
|
grep -om1 http.\*zip | wget -i- -O"$F"; unzip "$F" -d "$2";}
|
2021-09-25 05:28:09 +00:00
|
|
|
un bloc97/Anime4k ~/.config/mpv/shaders
|
|
|
|
|
2022-02-04 18:17:39 +00:00
|
|
|
chsh -s "$(which fish)"
|
2023-04-09 03:46:35 +00:00
|
|
|
fish -c "aliases"
|
|
|
|
|
|
|
|
echo options i915 enable_rc6=1 enable_fbc=1 lvds_downclock=1 enable__psr=1 | s tee -a /etc/modprobe.d/i915.conf
|
|
|
|
echo options lsm=landlock,lockdown,yama,integrity,apparmor,bpf | s tee -a /boot/loader/entries/*.conf
|
|
|
|
echo kernel.core_pattern=/dev/null | s tee -a /etc/sysctl.d/50-coredump.conf
|
2021-09-25 05:28:09 +00:00
|
|
|
|
2021-10-26 19:01:32 +00:00
|
|
|
g g p:appdwarf ~/.appdwarf
|
|
|
|
g g p:phantop.github.io ~/.site
|
|
|
|
g g p:haiku-icons ~/.local/share/icons/Haiku
|
2022-05-27 18:05:57 +00:00
|
|
|
nvim +PaqInstall +q
|
2021-09-25 05:28:09 +00:00
|
|
|
|
2022-02-19 04:04:40 +00:00
|
|
|
parallel gsettings set org.gnome.desktop.interface {}-theme Haiku ::: cursor icon
|
2023-04-09 03:46:35 +00:00
|
|
|
gsettings set org.gnome.desktop.interface gtk-theme Dracula
|
|
|
|
gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing false
|
2022-12-25 18:52:42 +00:00
|
|
|
|
|
|
|
for i in ~/.dotfiles/dconf/*; do
|
|
|
|
dconf reset -f "$(basename $i | sed 's/^/./;s#\.#/#g;s#.toml#/#')"
|
|
|
|
dconf load "$(basename $i | sed 's/^/./;s#\.#/#g;s#.toml#/#')" < "$i"
|
|
|
|
done
|