mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-23 21:56:45 +00:00
yt-dlp and gtk config, upload aliases, 7zstd
This commit is contained in:
parent
942e682e88
commit
4b9938a889
4
dot-config/gtk-3.0/settings.ini
Normal file
4
dot-config/gtk-3.0/settings.ini
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name=Ant-Dracula
|
||||||
|
gtk-cursor-theme-name=Haiku
|
||||||
|
gtk-icon-theme-name=Haiku
|
3
dot-config/gtkrc
Normal file
3
dot-config/gtkrc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
gtk-theme-name="Ant-Dracula"
|
||||||
|
gtk-cursor-theme-name="Haiku"
|
||||||
|
gtk-icon-theme-name="Haiku"
|
8
dot-config/yt-dlp/config
Normal file
8
dot-config/yt-dlp/config
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
-ciw
|
||||||
|
--write-sub
|
||||||
|
--write-auto-sub
|
||||||
|
--embed-subs
|
||||||
|
--sub-lang=en
|
||||||
|
--compat-options no-keep-subs
|
||||||
|
-S lang,quality,res,fps,hdr:12,acodec,size,br,vcodec,asr,proto,ext,hasaud,source,id
|
||||||
|
-o "%(title)s.%(ext)s"
|
|
@ -6,6 +6,7 @@ a aliases 'v (which aliases); command aliases'
|
||||||
a all2jxl 'fd -e{png,jpg} -x cjxl -e 8 -d 0 {} {.}.jxl && fd -e{png,jpg} -x rm'
|
a all2jxl 'fd -e{png,jpg} -x cjxl -e 8 -d 0 {} {.}.jxl && fd -e{png,jpg} -x rm'
|
||||||
a base64d 'echo (echo $argv | base64 -d 2>/dev/null);:'
|
a base64d 'echo (echo $argv | base64 -d 2>/dev/null);:'
|
||||||
a bax 'source (which bax) && bax'
|
a bax 'source (which bax) && bax'
|
||||||
|
a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:'
|
||||||
a cd 'cd (realpath $argv 2> /dev/null);:'
|
a cd 'cd (realpath $argv 2> /dev/null);:'
|
||||||
a clip 'xclip -sel clip'
|
a clip 'xclip -sel clip'
|
||||||
a cpugov 's cpupower frequency-set -g performance'
|
a cpugov 's cpupower frequency-set -g performance'
|
||||||
|
@ -36,12 +37,15 @@ a se 's eopkg'
|
||||||
a spleet 'spleeter separate -o . -c flac'
|
a spleet 'spleeter separate -o . -c flac'
|
||||||
a ta 'tmux a -t (math 0 + "0$argv");:'
|
a ta 'tmux a -t (math 0 + "0$argv");:'
|
||||||
a tar bsdtar
|
a tar bsdtar
|
||||||
|
a temp 'curl temp.sh -T'
|
||||||
|
a transfer 'curl https://transfer.sh/(basename $argv) -T'
|
||||||
a twitch-dl 'ffmpeg -i (ydl -e $argv[1]|tr / _) -c copy $argv[2..-1] "file:(ydl -g $argv[1]).mkv"'
|
a twitch-dl 'ffmpeg -i (ydl -e $argv[1]|tr / _) -c copy $argv[2..-1] "file:(ydl -g $argv[1]).mkv"'
|
||||||
a up 'se up --y'
|
a up 'se up --y'
|
||||||
a v vi
|
a v vi
|
||||||
a vi nvim
|
a vi nvim
|
||||||
a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath $argv);:'
|
a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath $argv);:'
|
||||||
a wm 'startx (which $argv[1]) $argv[2..-1]'
|
a wm 'startx (which $argv[1]) $argv[2..-1]'
|
||||||
|
a ydl yt-dlp
|
||||||
|
|
||||||
a ao3 'egrep works/[0-9]+ $argv -o | uniq | tr -d a-z | parallel aria2c "https://ao3.org/downloads{}/\*.epub" -d ao3; rm'
|
a ao3 'egrep works/[0-9]+ $argv -o | uniq | tr -d a-z | parallel aria2c "https://ao3.org/downloads{}/\*.epub" -d ao3; rm'
|
||||||
a invid 'tmux new -s 0 -d "docker-compose -f ~/.config/invid.yml up --build"'
|
a invid 'tmux new -s 0 -d "docker-compose -f ~/.config/invid.yml up --build"'
|
||||||
|
@ -49,9 +53,8 @@ a launcher 'rofi -combi-modi "drun,run" -show combi -modi "combi,window"'
|
||||||
a listen 'pactl list | grep loop && pactl unload-module module-loopback || pactl load-module module-loopback'
|
a listen 'pactl list | grep loop && pactl unload-module module-loopback || pactl load-module module-loopback'
|
||||||
a symlinks 'fd -td -d1 . $D -x sh -c "rm ~/{/}; rmdir ~/{/}; ln -s {} ~/{/}"'
|
a symlinks 'fd -td -d1 . $D -x sh -c "rm ~/{/}; rmdir ~/{/}; ln -s {} ~/{/}"'
|
||||||
a tcsv 'curl -sL http://torrents-csv.ml/service/search?q="$argv"|jq ".[]|.name,.infohash,.seeders";:'
|
a tcsv 'curl -sL http://torrents-csv.ml/service/search?q="$argv"|jq ".[]|.name,.infohash,.seeders";:'
|
||||||
a ydl 'yt-dlp -ciw --write-sub --write-auto-sub --embed-subs --sub-lang=en --compat-options no-keep-subs \
|
|
||||||
-S lang,quality,res,fps,hdr:12,acodec,size,br,vcodec,asr,proto,ext,hasaud,source,id -o "%(title)s.%(ext)s"'
|
|
||||||
|
|
||||||
|
a 7zstd '7z a -m0=zstd -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
|
||||||
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
|
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
|
||||||
a dwarf 'mkdwarfs -i . -o $PWD.dwarfs'
|
a dwarf 'mkdwarfs -i . -o $PWD.dwarfs'
|
||||||
a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i'
|
a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i'
|
||||||
|
|
|
@ -4,7 +4,7 @@ alias s=sudo se="sudo eopkg -y" g=git
|
||||||
gnome="$(echo eog file-roller gnome-{photos,mpv,terminal} nautilus rhythmbox)"
|
gnome="$(echo eog file-roller gnome-{photos,mpv,terminal} nautilus rhythmbox)"
|
||||||
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
|
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
|
||||||
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
|
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
|
||||||
gui="abiword caja gmic-gimp engrampa keepassxc kitty lutris vorta"
|
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 mpv playerctl usbmuxd viewnior yt-dlp zathura-poppler"
|
||||||
rice="ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
|
rice="ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
|
||||||
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep tmux"
|
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep tmux"
|
||||||
|
@ -16,6 +16,7 @@ se it -c system.devel $audio $dev $gui $media $rice $sys $term $web
|
||||||
se rm $gnome firefox hexchat libreoffice-common onboard thunderbird
|
se rm $gnome firefox hexchat libreoffice-common onboard thunderbird
|
||||||
|
|
||||||
echo source ~/.config/bashrc > ~/.bashrc
|
echo source ~/.config/bashrc > ~/.bashrc
|
||||||
|
ln -s ~/.config/gtkrc ~/.gtkrc-2.0
|
||||||
install -D <(echo set -g mouse on) ~/.config/tmux/tmux.conf
|
install -D <(echo set -g mouse on) ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
mkdir -p ~/.parallel/will-cite
|
mkdir -p ~/.parallel/will-cite
|
||||||
|
@ -42,3 +43,7 @@ nvim +PlugUpdate +q +q
|
||||||
|
|
||||||
chsh -s $(which fish)
|
chsh -s $(which fish)
|
||||||
fish -c "aliases;clean"
|
fish -c "aliases;clean"
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface cursor-theme Haiku
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme Haiku
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Ant-Dracula
|
||||||
|
|
Loading…
Reference in a new issue