mirror of https://github.com/Phantop/dotfiles
Compare commits
2 Commits
7c224644dc
...
ed63f598d4
Author | SHA1 | Date |
---|---|---|
Phantop | ed63f598d4 | |
Phantop | ed147f91df |
19
archpkgs
19
archpkgs
|
@ -8,6 +8,7 @@ aria2
|
|||
asciinema
|
||||
audacious
|
||||
autojump
|
||||
avidemux-qt
|
||||
base
|
||||
base-devel
|
||||
bat
|
||||
|
@ -22,16 +23,14 @@ bzip3
|
|||
ccache
|
||||
chaotic-keyring
|
||||
chaotic-mirrorlist
|
||||
citra-qt-git
|
||||
clang
|
||||
cmake
|
||||
cpupower
|
||||
cups
|
||||
dart-sass
|
||||
debootstrap
|
||||
dolphin-emu-git
|
||||
dolphin-emu
|
||||
dracula-gtk-theme-git
|
||||
dwarfs-git
|
||||
electron
|
||||
expac
|
||||
fd
|
||||
|
@ -39,11 +38,15 @@ fish
|
|||
flyctl-bin
|
||||
fq
|
||||
fzf
|
||||
gallery-dl
|
||||
game-devices-udev
|
||||
gamemode
|
||||
gdb
|
||||
ghex
|
||||
gifsicle
|
||||
gimp
|
||||
git
|
||||
gitui
|
||||
glow
|
||||
gnome-disk-utility
|
||||
gnome-keyring
|
||||
|
@ -68,18 +71,17 @@ jpegoptim
|
|||
jq
|
||||
keepassxc
|
||||
kitty
|
||||
lagrange
|
||||
libimobiledevice
|
||||
libplist
|
||||
libpulse
|
||||
libusbmuxd
|
||||
libva-intel-driver
|
||||
libva-mesa-driver
|
||||
lightdm
|
||||
lightdm-gtk-greeter
|
||||
lightdm-gtk-greeter-settings
|
||||
linux-firmware
|
||||
linux-hardened
|
||||
lrzip
|
||||
ly
|
||||
lynx
|
||||
man-db
|
||||
man-pages
|
||||
|
@ -88,6 +90,7 @@ meld
|
|||
moreutils
|
||||
mpv
|
||||
mpv-mpris
|
||||
msitools
|
||||
mupdf-tools
|
||||
musikcube
|
||||
ncdu
|
||||
|
@ -113,6 +116,7 @@ parallel
|
|||
perl-parallel-forkmanager
|
||||
pgbouncer
|
||||
php
|
||||
picocom
|
||||
pipewire
|
||||
pngquant
|
||||
postgresql
|
||||
|
@ -150,10 +154,10 @@ squashfs-tools
|
|||
squashfuse
|
||||
starship
|
||||
stow
|
||||
subversion
|
||||
sxiv
|
||||
syncthing
|
||||
system-config-printer
|
||||
tenacity-git
|
||||
tig
|
||||
tk
|
||||
torsocks
|
||||
|
@ -169,6 +173,7 @@ webp-pixbuf-loader
|
|||
wget
|
||||
wimlib
|
||||
wireless_tools
|
||||
wireshark-qt
|
||||
wit
|
||||
xdg-user-dirs
|
||||
xdg-utils
|
||||
|
|
|
@ -18,7 +18,7 @@ a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip;
|
|||
a clip 'xsel -ib'
|
||||
a cpugov 's cpupower frequency-set -g performance'
|
||||
a dirdl 'wget -r -k -p -np -e robots=off'
|
||||
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16'
|
||||
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16 --http-accept-gzip'
|
||||
a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t'
|
||||
a dot 'cd ~/.dotfiles'
|
||||
a epubpack 'cd $argv && zip -0rX ../(basename $argv).epub mimetype *; cd ..;:'
|
||||
|
@ -54,6 +54,7 @@ a venv 'python3 -m venv venv && source venv/bin/activate.fish && pip3 install -r
|
|||
a vi nvim
|
||||
a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath $argv);:'
|
||||
a ydl 'yt-dlp'
|
||||
a ytflux 'eval curl (cat ~/.miniflux)/entries?status=unread | jq .entries[].url | grep watch?v | xargs yt-dlp'
|
||||
|
||||
a 7zstd '7z a -m0=zstd -mx22 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z'
|
||||
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z'
|
||||
|
@ -75,7 +76,7 @@ a transfer 'curl https://transfer.sh/(basename $argv) -T'
|
|||
a history_find 'history -p (string sub -s 2 $argv[1]) | head -n1;:'
|
||||
a history_last 'history -n1;:'
|
||||
|
||||
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
||||
for i in (cut -d ' ' -f1 < ~/.config/qutebrowser/quickmarks)
|
||||
a $i "qutebrowser / \":open $i\""
|
||||
end
|
||||
|
||||
|
|
17
bin/clean
17
bin/clean
|
@ -1,17 +1,8 @@
|
|||
#!/bin/sh
|
||||
sudo eopkg up -y
|
||||
sudo eopkg dc -y
|
||||
sudo eopkg rmo -y
|
||||
sudo eopkg rdb -y
|
||||
sudo eopkg clean -y
|
||||
fc-cache -f
|
||||
yay -Scc
|
||||
fc-cache -frvs
|
||||
rm -r ~/.cache ~/.wine ~/.local/pipx/.cache/
|
||||
fish -c "j --purge"
|
||||
docker system prune -f
|
||||
docker image prune -a
|
||||
sudo solbuild delete-cache
|
||||
sudo rm -rf /var/lib/solbuild
|
||||
sudo solbuild init -p unstable-x86_64
|
||||
sudo journalctl --vacuum-size=1K
|
||||
doas journalctl --vacuum-size=1K
|
||||
bleachbit -c $(bleachbit -l|rg -v 'system.free_disk_space|system.memory')
|
||||
sudo bleachbit -c $(bleachbit -l|rg -v 'system.free_disk_space|system.memory')
|
||||
doas bleachbit -c $(bleachbit -l|rg -v 'system.free_disk_space|system.memory')
|
||||
|
|
2
bin/jqf
2
bin/jqf
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
in=$(mktemp)
|
||||
cat /dev/stdin > "$in"
|
||||
cat > "$in"
|
||||
fzf --preview-window='up:99%' --preview "jq --color-output -r {q} $in $1"
|
||||
rm -f "$in"
|
||||
|
|
|
@ -50,11 +50,4 @@ command Q q!
|
|||
PaqSync
|
||||
|
||||
autocmd BufReadPost,FileReadPost *.bz3 call gzip#read("bzip3 -d")
|
||||
|
||||
let g:ale_linters = {'cpp': ['cc', 'clang', 'cppcheck']}
|
||||
let g:ale_fixers = {'cpp': ['clang-format']}
|
||||
let g:ale_linters_ignore = {'cpp': ['clangcheck', 'clangtidy']}
|
||||
let g:ale_cpp_cc_options = "-std=c++17 -Wall"
|
||||
let g:ale_cpp_clangd_options = "-std=c++17 -Wall"
|
||||
let g:ale_c_cc_options = "-Wall -lm"
|
||||
]]
|
||||
|
|
|
@ -6,14 +6,17 @@ c.confirm_quit = ['downloads']
|
|||
c.downloads.location.directory = '~/Downloads'
|
||||
c.qt.workarounds.remove_service_workers = True
|
||||
|
||||
c.url.searchengines['l'] = 'farside.link/librex/search.php?q={}'
|
||||
c.url.searchengines['!'] = 'farside.link/librex/search.php?q=!{}'
|
||||
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
|
||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
||||
c.url.searchengines['4'] = '4get.ca/web?s={}'
|
||||
c.url.searchengines['a'] = 'annas-archive.org/search?q={}'
|
||||
c.url.searchengines['l'] = 'farside.link/librex/search.php?q={}'
|
||||
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
||||
c.url.searchengines['n'] = 'https://search.marginalia.nu/search?query={}'
|
||||
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
|
||||
c.url.searchengines['x'] = 'aldeid.com/wiki/X86-assembly/Instructions/{}'
|
||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||
c.url.searchengines['z'] = 'zeldawiki.wiki/wiki/{}'
|
||||
c.url.searchengines['DEFAULT'] = c.url.searchengines['s']
|
||||
c.url.searchengines['DEFAULT'] = c.url.searchengines['4']
|
||||
c.url.start_pages = c.url.default_page = 'minifocs.fly.dev'
|
||||
|
||||
config.source('adblock.py')
|
||||
|
|
Loading…
Reference in New Issue