mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-05 06:25:00 +00:00
bin: more pipx alias, hitolo bitrate, setup main
This commit is contained in:
parent
385e87e8f6
commit
fd20ae3dfe
|
@ -35,7 +35,7 @@ a l ls
|
|||
a la 'l -A'
|
||||
a launcher 'rofi -combi-modi drun,run,window -modi combi -show'
|
||||
a listen 'pactl list | grep loop && set t un; pactl "$t"load-module module-loopback'
|
||||
a nix 'replay . ~/.nix-profile/etc/profile.d/nix.sh; command nix'
|
||||
a nix '. ~/.nix-profile/etc/profile.d/nix.fish; command nix'
|
||||
a nsp 'netsurf (pandoc $argv -s -t html | psub -s .html);:'
|
||||
a nsmd 'netsurf (md2html $argv | psub -s .html);:'
|
||||
a off shutdown
|
||||
|
@ -61,7 +61,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 wm 'startx (which $argv[1]) $argv[2..-1];:'
|
||||
a ydl 'yt-dlp'
|
||||
a ydl 'pipx run 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'
|
||||
|
@ -79,7 +79,9 @@ for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
|||
a $i "qutebrowser / \":open $i\""
|
||||
end
|
||||
|
||||
for i in deemix diffoscope encodec gallery-dl git-sim lightnovel-crawler mandown mathicsscript nsz pdf2docx portablemc ratarmount scdl soundscrape spleeter
|
||||
for i in deemix diffoscope encodec gallery-dl git-sim html2text lightnovel-crawler\
|
||||
mandown mangadex-downloader mathicsscript nsz pdf2docx portablemc ratarmount\
|
||||
scdl soundscrape spleeter
|
||||
a $i "pipx run $i"
|
||||
end
|
||||
a mathics 'pipx run --spec mathics-django mathicsserver'
|
||||
|
|
|
@ -14,11 +14,11 @@ fi
|
|||
if ! test -d "$LOFI"; then
|
||||
cd "$HIFI" || exit 1
|
||||
fd -t d -x mkdir -p "$LOFI"/{}
|
||||
fd -e flac -x opusenc --bitrate 256 {} "$LOFI"/'{.}'.opus
|
||||
fd -e flac -x opusenc --bitrate 128 {} "$LOFI"/'{.}'.opus
|
||||
fi
|
||||
|
||||
# https://github.com/smxi/acxi/raw/stable/acxi
|
||||
acxi -s "$HIFI" -d "$LOFI" -o opus -q 256 --clean sync -F 16 -c mp3,m4a,opus,ogg
|
||||
acxi -s "$HIFI" -d "$LOFI" -o opus -q 128 --clean sync -F 16 -c mp3,m4a,opus,ogg
|
||||
|
||||
fusermount -u "$LOFI"
|
||||
rmdir "$LOFI"
|
||||
|
|
|
@ -18,9 +18,9 @@ stow --no-folding -d ~/.dotfiles -t ~/.config .
|
|||
ln -s ~/.config/gtk-3.0/gtkrc ~/.gtkrc-2.0
|
||||
mkdir -p ~/.parallel/will-cite
|
||||
|
||||
wget https://github.com/dracula/rofi/raw/master/theme/config2.rasi -P ~/.config/rofi
|
||||
wget https://github.com/dracula/rofi/raw/main/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/dracula/musikcube/raw/main/dracula.json -P ~/.config/musikcube
|
||||
|
||||
wget https://github.com/mrzool/bash-sensible/raw/master/sensible.bash -O ~/.bashrc
|
||||
wget https://github.com/savq/paq-nvim/raw/master/lua/paq.lua -P ~/.config/nvim/lua
|
||||
|
|
|
@ -11,7 +11,7 @@ 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['a'] = 'annas-archive.org/search?q={}'
|
||||
c.url.searchengines['DEFAULT'] = c.url.searchengines['l']
|
||||
c.url.searchengines['DEFAULT'] = c.url.searchengines['s']
|
||||
c.url.start_pages = c.url.default_page = 'minifocs.fly.dev'
|
||||
|
||||
config.source('adblock.py')
|
||||
|
|
Loading…
Reference in a new issue