1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 04:12:44 +00:00
dotfiles/bin/setup

52 lines
2.2 KiB
Plaintext
Raw Normal View History

#!/bin/sh
# shellcheck disable=SC2086
alias s=sudo se="s eopkg -y" g=git
gnome="gnome-photos gnome-mpv gnome-terminal nautilus rhythmbox"
2022-07-05 23:48:52 +00:00
se rm $gnome firefox libreoffice-common onboard thunderbird
2022-10-28 17:14:57 +00:00
pkgs="advancecomp arcanist aria2 audacious audacity autojump avidemux bleachbit caja
ccache corectrl dolphin-emu fd fish fzf gifsicle gimp git-extras htop ifuse
innoextract jpegoptim keepassxc kitty linux-tools-cpupower llvm-clang lrzip lynx
mkvtoolnix moreutils mpv ncdu neovim nicotine-plus nnn opus-tools p7zip parallel
qt-creator qutebrowser ripgrep solbuild spectacle spek starship sxiv syncthing tig
tlp tor upx usbmuxd yt-dlp zathura-mupdf"
se up; se it -c system.devel $pkgs
pip3 install adblock pipx-in-pipx readability-lxml
2021-10-27 06:58:27 +00:00
stow --no-folding -d ~/.dotfiles -t ~/.config .
ln -s ~/.config/gtk-3.0/gtkrc ~/.gtkrc-2.0
mkdir -p ~/.parallel/will-cite
2022-05-26 22:40:45 +00:00
wget https://github.com/dracula/rofi/raw/master/theme/config2.rasi -P ~/.config/rofi
wget https://github.com/dracula/kitty/raw/master/dracula.conf -P ~/.config/kitty
wget https://github.com/dracula/musikcube/raw/master/dracula.json -P ~/.config/musikcube
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
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";}
un bloc97/Anime4k ~/.config/mpv/shaders
un mozilla/pdf.js ~/.local/share/qutebrowser/pdfjs
chsh -s "$(which fish)"
fish -c "aliases;clean"
s usermod -aG docker "$USER"
2021-10-26 19:01:32 +00:00
g g p:appdwarf ~/.appdwarf
g g p:solus-stuff ~/.solus
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
parallel gsettings set org.gnome.desktop.interface {}-theme Haiku ::: cursor icon
gsettings set org.gnome.desktop.interface gtk-theme Ant-Dracula
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