2022-04-13 21:24:16 +00:00
#!/bin/sh
2023-04-08 19:28:19 +00:00
set -e
2023-04-09 03:46:35 +00:00
alias s=sudo g=git
2023-10-17 01:28:11 +00:00
printf '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' | s tee -a /etc/pacman.conf
2023-12-05 17:34:37 +00:00
s pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
2023-08-21 17:58:45 +00:00
s pacman-key --lsign-key 3056513887B78AEB
s pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
s pacman -Syu
2023-10-17 01:28:11 +00:00
xargs -o sudo pacman -S --needed < ~/.dotfiles/archpkgs
2023-10-26 05:58:32 +00:00
yay -S pandoc-bin shellcheck-bin nvimpager
2023-10-17 01:28:11 +00:00
chsh -s "$(which fish)"
echo kernel.core_pattern=/dev/null | s tee -a /etc/sysctl.d/50-coredump.conf
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
2021-10-27 06:58:27 +00:00
2024-03-16 20:14:12 +00:00
mkdir -p ~/.parallel/will-cite ~/.config/aria2
2022-01-15 18:31:54 +00:00
stow --no-folding -d ~/.dotfiles -t ~/.config .
2023-10-17 01:28:11 +00:00
fish -c "aliases"
2021-09-25 05:28:09 +00:00
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
2023-10-17 01:28:11 +00:00
wget https://github.com/dracula/rofi/raw/main/theme/config2.rasi -P ~/.config/rofi
wget https://github.com/zedeus/nitter/raw/master/public/css/themes/dracula.css -P ~/.config/qutebrowser
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
2023-10-17 01:28:11 +00:00
wget https://source.netsurf-browser.org/netsurf.git/plain/resources/adblock.css -P ~/.config/qutebrowser
2021-09-25 05:28:09 +00:00
2023-10-17 01:28:11 +00:00
wget https://github.com/savq/paq-nvim/raw/master/lua/paq.lua -P ~/.config/nvim/lua
nvim +PaqInstall +q
2021-09-25 05:28:09 +00:00
2024-04-19 20:45:54 +00:00
wget https://github.com/DonCanjas/mpv-visualizer/raw/master/visualizer.lua -P ~/.config/mpv/scripts
wget https://github.com/elhirchek/copy-paste-url/raw/master/copy-paste-url.lua -P ~/.config/mpv/scripts
wget https://gitlab.com/lvml/mpv-plugin-xrandr/-/raw/master/xrandr.lua -P ~/.config/mpv/scripts
2024-03-16 20:14:12 +00:00
printf bt-tracker= > ~/.config/aria2/aria2.conf
2024-03-18 17:19:59 +00:00
curl -L https://github.com/ngosang/trackerslist/raw/master/trackers_best.txt | tr "\n" , >> ~/.config/aria2/aria2.conf
2024-03-16 20:14:12 +00:00
2023-11-06 16:27:01 +00:00
g g p:appdwarf ~/.local/appdwarf
2021-10-26 19:01:32 +00:00
g g p:haiku-icons ~/.local/share/icons/Haiku
2021-09-25 05:28:09 +00:00
2022-12-25 18:52:42 +00:00
for i in ~/.dotfiles/dconf/*; do
2023-10-17 01:28:11 +00:00
dconf reset -f "$(basename "$i" | tr : /)"
#shellcheck disable=SC2094
dconf load "$(basename "$i" | tr : /)" < "$i"
2022-12-25 18:52:42 +00:00
done