diff --git a/dot-config/nvim/init.vim b/dot-config/nvim/init.vim index f38f4a2..b8fb54c 100755 --- a/dot-config/nvim/init.vim +++ b/dot-config/nvim/init.vim @@ -2,6 +2,7 @@ call plug#begin('~/.local/share/nvim/plugged') Plug 'airblade/vim-gitgutter' Plug 'ajh17/vimcompletesme' Plug 'ctrlpvim/ctrlp.vim' +Plug 'dense-analysis/ale' Plug 'dracula/vim' Plug 'easymotion/vim-easymotion' Plug 'godlygeek/tabular' @@ -10,37 +11,31 @@ Plug 'tpope/vim-commentary' Plug 'tpope/vim-sensible' Plug 'tpope/vim-surround' Plug 'vim-airline/vim-airline' -Plug 'w0rp/ale' Plug 'Yggdroot/indentLine' call plug#end() -se number -se ruler -se nowrap -se textwidth=0 wrapmargin=0 tw=0 +se background=dark +se clipboard=unnamedplus +se colorcolumn=85 +se cursorline +se expandtab +se formatoptions+=j +se ignorecase se lbr se mouse=a -se autoindent -se smartindent -se expandtab +se nowrap +se number se shiftwidth=4 -se formatoptions+=j -se cursorline -se clipboard=unnamedplus -se autoread -syntax enable -filetype plugin indent on - -map mzgg=G`z -map r "_d - -se background=dark -colorscheme dracula +se smartcase +se smartindent se termguicolors +se textwidth=0 +se wrapmargin=0 autocmd FileType * se tw=0 - -se ignorecase -se smartcase - +colorscheme dracula command Q q! +filetype plugin indent on +syntax enable +map mzgg=G`z +map r "_d diff --git a/dot-config/qutebrowser/config.py b/dot-config/qutebrowser/config.py index d9fb38f..c53e927 100644 --- a/dot-config/qutebrowser/config.py +++ b/dot-config/qutebrowser/config.py @@ -16,7 +16,7 @@ c.url.open_base_url = True c.completion.open_categories = ["quickmarks", "bookmarks", "history"] c.confirm_quit = ["downloads"] c.content.cookies.accept = "no-3rdparty" -c.content.pdfjs = True +#c.content.pdfjs = True c.fonts.default_size = "9pt" c.qt.args += ["enable-gpu-rasterization"] c.qt.force_platformtheme = "gtk2" diff --git a/dot-config/qutebrowser/greasemonkey/discord.js b/dot-config/qutebrowser/greasemonkey/discord.js index 7522252..ddc8327 100644 --- a/dot-config/qutebrowser/greasemonkey/discord.js +++ b/dot-config/qutebrowser/greasemonkey/discord.js @@ -22,7 +22,7 @@ style.innerHTML = ` body { - background: url("https://cdn.discordapp.com/attachments/773556458234052608/897350003280990208/outerwildseote.webp"); + background: url("https://cdn.discordapp.com/attachments/773556458234052608/929383713932992512/0dKbZO5-16-9.webp"); background-size: cover; } @@ -32,7 +32,7 @@ body { box-shadow: none !important; } -.container-1D34oG, /*friends list*/ +.container-2cd8Mz, /*friends list*/ .scrollbar-2rkZSL, /*scrollbar*/ .pad-29zQak, .track-1JN30G { @@ -60,7 +60,7 @@ body { color: #f2f2f2 !important; } -.appMount-3lHmkl { +.appMount-2yBXZL { background: rgba(0, 0, 0, .6); } diff --git a/dot-config/qutebrowser/quickmarks b/dot-config/qutebrowser/quickmarks index 033e6ce..5f93a67 100644 --- a/dot-config/qutebrowser/quickmarks +++ b/dot-config/qutebrowser/quickmarks @@ -3,5 +3,5 @@ discord https://canary.discord.com/app drop https://drop.lol hn https://news.ycombinator.com lms https://lms.rpi.edu -submitty https://submitty.cs.rpi.edu/courses/f21/csci1200/polls +submitty https://submitty.cs.rpi.edu tuta https://mail.tutanota.com diff --git a/dot-local/bin/aliases b/dot-local/bin/aliases index 1c4927e..d932912 100755 --- a/dot-local/bin/aliases +++ b/dot-local/bin/aliases @@ -20,6 +20,7 @@ a imgsum 'printf "$argv: " && identify -format "%#\n"' a l ls a la 'l -A' a less 'eval $PAGER' +a musikcube 'screen -R -s musikcube' a nix 'bax . ~/.nix-profile/etc/profile.d/nix.sh; command nix' a off shutdown a offh 'off (math "60*"$argv);:' @@ -46,7 +47,7 @@ a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath a wm 'startx (which $argv[1]) $argv[2..-1]' a ydl 'while not yt-dlp $argv; end;:' -a ao3 'grep epub $argv | cut -d/ -f2-3 | parallel aria2c "https://ao3.org/{}/\*.epub" -dao3' +a ao3 'grep epub $argv | cut -d/ -f2-3 | parallel aria2c "https://ao3.org/{}/\*.epub" -dao3;rm' a invid 'tmux new -s 0 -d "docker-compose -f ~/.config/invid.yml up --build"' a launcher 'rofi -combi-modi "drun,run" -show combi -modi "combi,window"' a listen 'pactl list | grep loop && set t un; pactl "$t"load-module module-loopback' diff --git a/dot-local/bin/setup b/dot-local/bin/setup index df853d0..c98a90f 100755 --- a/dot-local/bin/setup +++ b/dot-local/bin/setup @@ -3,12 +3,12 @@ alias s=sudo se="sudo eopkg -y" g=git gnome="$(echo eog file-roller gnome-{photos,mpv,terminal} nautilus rhythmbox)" audio="audacious audacious-plugins audacity opus-tools spek" -dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx" +dev="ccache docker-compose git-extras llvm-clang neovim parallel qt-creator solbuild tig upx" gui="abiword caja gmic-gimp engrampa keepassxc kitty lutris" -media="avidemux gaupol jpegoptim mpv playerctl usbmuxd viewnior yt-dlp zathura-poppler" +media="avidemux gaupol jpegoptim mkvtoolnix mpv playerctl usbmuxd viewnior yt-dlp zathura-poppler" rice="ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow" -term="advancecomp autojump fd fish fzf innoextract most ncdu nnn p7zip ripgrep tmux" -sys="bleachbit corectrl ifuse linux-tools-cpupower python-wheel rsync tlp" +term="advancecomp autojump fd fish fzf innoextract micro most ncdu nnn p7zip ripgrep tmux" +sys="bleachbit corectrl ifuse linux-tools-cpupower python-wheel rsync screen tlp" web="arcanist aria2 nicotine-plus qutebrowser openssh-server rclone subliminal syncthing-gtk" se up @@ -26,6 +26,7 @@ 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 +wget https://adsbypasser.github.io/releases/adsbypasser.full.es7.user.js -P ~/.config/qutebrowser/greasemonkey/ pip3 install adblock pipx-in-pipx readability-lxml sh parallel pipx install ::: deemix soundscrape tldr diff --git a/dot-local/bin/undeflate b/dot-local/bin/undeflate index 0786b04..1ae3f47 100755 --- a/dot-local/bin/undeflate +++ b/dot-local/bin/undeflate @@ -1,5 +1,6 @@ #!/bin/bash fd -e pdf -x qpdf --stream-data=uncompress --replace-input --compress-streams=n --recompress-flate --compression-level=0 --optimize-images {} -fd -e{epub,zip,cbz,jar,docx,odt,apk} -x advzip -z0 +fd -e \~qpdf-orig -x rm +fd -t f -x advzip -z0 fd -e png -x advpng -z0 fd -t f -x advdef -z0