diff --git a/.config/dircolors b/.config/dircolors index 45a240f..090f243 100644 --- a/.config/dircolors +++ b/.config/dircolors @@ -91,6 +91,7 @@ STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable .piz 38;5;247 .pja 38;5;247 .rar 38;5;247 +.rpa 38;5;247 .rpm 38;5;247 .rz 38;5;247 .tar 38;5;247 @@ -169,6 +170,7 @@ STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable .hevc 38;5;202 .m2v 38;5;202 .m4v 38;5;202 +.mj2 38;5;202 .mkv 38;5;202 .mov 38;5;202 .mp4 38;5;202 diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 8ab5ceb..5dddd22 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -93,11 +93,14 @@ filextype *.pdf,*.epub \ {Zathura} zathura %f %i &, \ {Okular} okular %f %i &, \ {MComix} mcomix %f %i & -filextype *.doc,*.docx,*.odt +filextype *.doc,*.docx,*.odt,*.tmdx + \ {FreeOffice} freeoffice-textmaker %f %i &, \ {Calligra} calligrawords %f %i & -filextype *.ppt,*.pptx,*.odp +filextype *.ppt,*.pptx,*.odp,*.prdx + \ {FreeOffice} freeoffice-presentations %f %i &, \ {Calligra} calligrastage %f %i & -filextype *.xls,*.xlsx,*.csv +filextype *.xls,*.xlsx,*.csv,*.pmdx + \ {FreeOffice} freeoffice-planmaker %f %i &, \ {Calligra} calligrasheets %f %i & fileviewer *.pdf pdftotext -nopgbrk %c - fileviewer *.epub pandoc -f epub -t plain %c @@ -223,6 +226,7 @@ filextype *.apng, \*.jpg, \*.jpm, \*.jpx, + \*.jxl, \*.mng, \*.pbm, \*.pcx, @@ -259,6 +263,7 @@ fileviewer *.apng, \*.jpg, \*.jpm, \*.jpx, + \*.jxl, \*.mng, \*.pbm, \*.pcx, @@ -310,6 +315,7 @@ filextype *.7z, filetype *.7z,*.cb7 {Extract} 7z x %f filetype *.asar {Extract} asar e %f %f:r filetype *.rar,*.cbr {Extract} unrar %f +filetype *.rpa {Extract} unrpa -s %f filetype *.tar {Extract} tar xf %f filetype *.tar.br {Extract} tar -I brotli -xf %f filetype *.tar.bz2,*.tbz2 {Extract} tar xjf %f @@ -329,6 +335,7 @@ filetype *.pkg.tar,*.pkg.tar.* fileviewer *.7z,*.cb7 7z l %c fileviewer *.asar asar l %c fileviewer *.rar,*.cbr unrar v %c +fileviewer *.rpa unrpa -l %c fileviewer *.tar tar tf %c fileviewer *.tar.br,*.tbr tar -I brotli -tf %c fileviewer *.tar.bz2,*.tbz2 tar tjf %c @@ -364,7 +371,7 @@ filetype *.sha512 {Verify} sha512sum -c %f %S " Torrents {{{ filetype *.torrent {Aria2} aria2c %f & filextype *.torrent {qBittorrent} qbittorent %f %i & -fileviewer *.torrent dump_torrent -v %c +fileviewer *.torrent dumptorrent -v %c " }}} " GPG files {{{ @@ -373,11 +380,11 @@ fileviewer *.gpg gpg --decrypt %c " }}} " Binary files {{{ -filextype *.out,*.exe,*.bin {Okteta} okteta %f %i & +filextype *.out,*.exe,*.bin,*.run {Okteta} okteta %f %i & filetype *.class {Decompile} cfr %f --outputdir %d %i & -fileviewer *.out,*.exe,*.bin xxd -u %c +fileviewer *.out,*.exe,*.bin,*.run xxd -u %c fileviewer *.class cfr %c -fileviewer *.lnk pylnker %c +fileviewer *.lnk pylnk3 p %c fileviewer *.o nm %c " }}} diff --git a/.config/youtube-dl/config b/.config/yt-dlp/config similarity index 78% rename from .config/youtube-dl/config rename to .config/yt-dlp/config index 9257427..2e4b7e9 100644 --- a/.config/youtube-dl/config +++ b/.config/yt-dlp/config @@ -8,7 +8,7 @@ --external-downloader-args "--file-allocation=none" # Video format code. ---format "(bestvideo+bestaudio/best)[height<=?1080]" +--format "(bestvideo*+bestaudio/best)[height<=?1080]" # Do not use .part files - write directly into output file. --no-part @@ -17,6 +17,6 @@ --output "%(title)s.%(ext)s" # Specify a custom user agent. ---user-agent "Mozilla/5.0 (Linux x86_64) youtube-dl/2021.08.10" +--user-agent "Mozilla/5.0 (Linux x86_64) yt-dlp/2021.11.10.1" # vim:ft=conf: diff --git a/.gitattributes b/.gitattributes index 595544e..66281c7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,23 +4,18 @@ .config/git/config linguist-language=gitconfig -.config/yarn/global/package.json linguist-language=JSON .config/yay/config.json linguist-language=JSON -.eslintrc.json linguist-language=JSON -.htmlhintrc.json linguist-language=JSON -.pug-lintrc.json linguist-language=JSON -.stylelintrc.json linguist-language=JSON .config/aria2/aria2.conf linguist-language=INI .config/ccache.cfg linguist-language=INI .config/htop/htoprc linguist-language=INI .config/mpv/input.conf linguist-language=INI .config/mpv/mpv.conf linguist-language=INI +.config/neofetch/config.conf linguist-language=INI .config/newsboat/config linguist-language=INI .config/pip/pip.conf linguist-language=INI .config/plasma-localerc linguist-language=INI -.config/pycodestyle linguist-language=INI -.config/youtube-dl/config linguist-language=INI +.config/yt-dlp/config linguist-language=INI .local/share/gnupg/gpg.conf linguist-language=INI .local/share/konsole/Default.profile linguist-language=INI .local/share/konsole/Gruvbox8.colorscheme linguist-language=INI @@ -44,13 +39,11 @@ .config/pypoetry/config.toml linguist-language=TOML +.config/nvimpager/init.vim linguist-language=Vim-script .config/vifm/vifmrc linguist-language=Vim-script .config/fontconfig/fonts.conf linguist-language=XML -.clang-format linguist-language=YAML -.clang-tidy linguist-language=YAML - # not actually YAML yet # .yarnrc linguist-language=YAML diff --git a/.local/arch/init.sh b/.local/arch/init.sh index e603a5d..76c6125 100755 --- a/.local/arch/init.sh +++ b/.local/arch/init.sh @@ -6,17 +6,19 @@ sudo sed -i /etc/pacman.conf \ -e 's/^#\(Color\)/\1\nILoveCandy/' \ -e '/\[multilib\]/,/Include/s/^#//' \ -e '$ a \n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' -sudo curl -LSsfo /etc/pacman.d/chaotic-mirrorlist \ - 'https://aur.archlinux.org/cgit/aur.git/plain/mirrorlist?h=chaotic-mirrorlist' # }}} # Update system and install basic packages {{{ +CHAOTIC='https://cdn-mirror.chaotic.cx/chaotic-aur' sudo pacman-key --init sudo pacman-key --populate archlinux -sudo pacman-key --recv-keys 0x3056513887B78AEB +sudo pacman-key --recv-key 0xFBA220DFC880C036 +sudo pacman-key --lsign-key 0xFBA220DFC880C036 sudo pacman-key --refresh-keys +sudo pacman -U "$CHAOTIC"/chaotic-{keyring,mirrorlist}.pkg.tar.zst sudo pacman -Syyu --noconfirm sudo pacman -S git aria2 yay --noconfirm +unset CHAOTIC # }}} # Clone dotfiles {{{ @@ -42,7 +44,7 @@ dotfiles checkout --force # Use aria2 for makepkg & set packager {{{ NAME="$(getent passwd "$USER" | awk -F'[:,]' '{print $5}')" PACKAGER="${NAME:=ObserverOfTime} " -ARIA='::/usr/bin/aria2c --conf-path=/etc/aria2.conf -o %o %u' +ARIA='/usr/bin/aria2c --conf-path=/etc/aria2.conf -o %o %u' sudo tee /etc/aria2.conf >/dev/null <> "$DIRECTORY/ffmpeg" -printf 'complete -o default -F _clang clang++\n' >> "$DIRECTORY/clang" -printf 'complete -o default -F __bundle bundler\n' >> "$DIRECTORY/bundle" +printf '\ncomplete -o default -F _ffmpeg ffprobe\n' >> "$DIRECTORY/ffmpeg" +printf '\ncomplete -o default -F _clang clang++\n' >> "$DIRECTORY/clang" +printf '\ncomplete -o default -F __bundle bundler\n' >> "$DIRECTORY/bundle" for key in "${!ALIASES[@]}"; do ln -fvs "$DIRECTORY/${ALIASES[$key]}" "$DIRECTORY/$key" done @@ -242,7 +243,7 @@ FONT_MAP=8859-2 EOF sudo sed -i /etc/mkinitcpio.conf \ -re 's/(^HOOKS="[^"]*)"/\1 consolefont"/' -sudo mkinitcpio -p linux-zen +sudo mkinitcpio -p linux-tkg-pds # }}} # vim:fdm=marker:fdl=0: diff --git a/.local/arch/packages.aur.txt b/.local/arch/packages.aur.txt index 4f717c2..613f6a4 100644 --- a/.local/arch/packages.aur.txt +++ b/.local/arch/packages.aur.txt @@ -1,11 +1,14 @@ -android-apktool cfr +desmume-git discord-ptb +easyrpg-player fakepkg +freeoffice kde-thumbnailer-apk kora-icon-theme lab-bin -luacheck +lib32-gst-plugins-bad +lib32-gst-plugins-ugly mkv-extractor-qt nvimpager-git otf-alegreya @@ -15,7 +18,6 @@ otf-hasklig pandoc-bin python-pypresence rclone-browser-git -shellcheck-bin -ssh-audit ttf-fira-go ttf-twemoji-color +virtio-win diff --git a/.local/arch/packages.repo.txt b/.local/arch/packages.repo.txt index 24e0e31..566b8e8 100644 --- a/.local/arch/packages.repo.txt +++ b/.local/arch/packages.repo.txt @@ -1,30 +1,22 @@ -android-apktool -aegisub alsa-firmware alsa-plugins alsa-utils -ant ark base base-devel bash bash-completion bc -bear bluedevil breeze breeze-gtk breeze-icons +btop cabextract -calligra ccache clang cmake -ctags -cawbird -desmume dnscrypt-proxy -docker dolphin dolphin-plugins dos2unix @@ -35,7 +27,6 @@ exe-thumbnailer extra-cmake-modules fd ffmpegthumbs -filezilla firefox-developer-edition fontconfig fontforge @@ -43,33 +34,24 @@ fzf gamemode gawk gdb -gimp +gimp-git git git-lfs github-cli -glances gnupg -go -gradle -grunt-cli gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly -gtk2 -gtk3 gwenview htop hunspell-el hunspell-en_GB hunspell-en_US -hyperfine iftop imagemagick inkscape -intellij-idea-ultimate-edition jdk-openjdk -jdk8-openjdk jemalloc jq kcalc @@ -80,24 +62,18 @@ kdeplasma-addons kdialog keepassxc kid3 -kile kimageformats kio-extras kio-gdrive kipi-plugins -kleopatra -kmix konsole -kotlin krita lib32-alsa-plugins lib32-gamemode -lib32-gst-plugins-bad lib32-gst-plugins-base lib32-gst-plugins-good -lib32-gst-plugins-ugly lib32-mesa-tkg-git -lib32-vulkan-icd-loader +lib32-vulkan-icd-loader-git linux-firmware-git linux-tkg-pds linux-tkg-pds-headers @@ -106,64 +82,48 @@ llvm lsof lua52 lutris -maven mcomix -meld mesa-tkg-git -mkvtoolnix-cli mkvtoolnix-gui mpv neovim network-manager-applet networkmanager-openvpn networkmanager-pptp -newsboat node-gyp nodejs noto-fonts-cjk okteta okular openjdk-doc -openjdk8-doc -optipng otf-fantasque-sans-mono otf-fira-code p7zip pacman-contrib parallel pdfjs -perl-tidy -plantuml protontricks-git ppsspp python-isort -python-netifaces python-pip python-poetry -python-py-cpuinfo python-pynvim -python-sphinx python-urwid qbittorrent qemu qt5-imageformats qutebrowser -r rclone ripgrep -rstcheck rsync -ruby -ruby-jekyll -ruby-travis sddm-kcm sha3sum -shfmt spectacle sshfs steam syncplay terminus-font +texlive-bibtexextra texlive-langgreek texlive-latexextra thunderbird @@ -173,10 +133,10 @@ ttf-hack ttf-lato ungoogled-chromium unzip -valgrind vifm -vint virt-manager +vulkan-icd-loader-git +vulkan-headers-tkg-git waifu2x-ncnn-vulkan-git webp-pixbuf-loader winetricks-git @@ -190,7 +150,7 @@ xdotool xxd-standalone yarn yay -youtube-dl +yt-dlp zathura zathura-pdf-mupdf zip diff --git a/.yarnrc b/.yarnrc index 51f7c6a..02b1bb1 100644 --- a/.yarnrc +++ b/.yarnrc @@ -10,6 +10,6 @@ init-author-url "https://observeroftime.github.io" init-license MIT init-version "0.1.0" prefix "~/.local" -user-agent "yarn/1.22.11 node/v16.9.1 linux x64" +user-agent "yarn/1.22.11 node/v16.11.1 linux x64" username ObserverOfTime version-git-sign true diff --git a/README.md b/README.md index 8a92296..e9aed34 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,6 @@ * [.config/yay/config.json](.config/yay/config.json): configuration file -## [Youtube-dl](https://ytdl-org.github.io/youtube-dl/) +## [yt-dlp](https://github.com/yt-dlp/yt-dlp) -* [.config/youtube-dl/config](.config/youtube-dl/config): configuration file +* [.config/yt-dlp/config](.config/yt-dlp/config): configuration file