mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-23 21:56:45 +00:00
42 lines
1.7 KiB
Bash
Executable file
42 lines
1.7 KiB
Bash
Executable file
#!/bin/bash
|
|
alias s=sudo se="s eopkg -y" g=git
|
|
|
|
gnome="$(echo eog gnome-{photos,mpv,terminal} nautilus rhythmbox)"
|
|
se rm $gnome firefox hexchat libreoffice-common onboard thunderbird
|
|
|
|
dev="arcanist ccache git-extras llvm-clang neovim parallel qt-creator solbuild"
|
|
gui="caja gimp keepassxc kitty nicotine-plus qutebrowser syncthing zathura-mupdf"
|
|
med="audaci{ty,ous{,-plugins}} avidemux mkvtoolnix mpv opus-tools spek yt-dlp"
|
|
ric="ant-dracula-gtk-theme autojump font-ubuntu-ttf rofi starship sassc stow"
|
|
tui="advancecomp aria2 fd fish fzf innoextract jpegoptim ncdu ripgrep tig"
|
|
sys="bleachbit corectrl ifuse linux-tools-cpupower p7zip privoxy tlp usbmuxd upx tor"
|
|
se up; se it -c system.devel $dev $gui $med $ric $sys $tui
|
|
|
|
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
|
stow --no-folding -d ~/.dotfiles -t ~/.local/bin bin
|
|
mkdir -p ~/.parallel/will-cite
|
|
echo source ~/.config/bashrc > ~/.bashrc
|
|
ln -s ~/.config/gtk-3.0/gtkrc ~/.gtkrc-2.0
|
|
|
|
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
|
|
pip3 install adblock pipx-in-pipx readability-lxml
|
|
|
|
chsh -s "$(which fish)"
|
|
fish -c "aliases;clean"
|
|
s usermod -aG docker "$USER"
|
|
s systemctl mask tracker-{store,miner-{fs,rss,apps},extra,writeback}
|
|
s systemctl enable --now privoxy
|
|
|
|
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
|
|
g g h:junegunn/vim-plug ~/.config/nvim/autoload
|
|
nvim +PlugUpdate +q +q
|
|
|
|
parallel gsettings set org.gnome.desktop.interface {}-theme Haiku ::: cursor icon
|
|
gsettings set org.gnome.desktop.interface gtk-theme Ant-Dracula
|