diff --git a/dot-config/gtk-3.0/settings.ini b/dot-config/gtk-3.0/settings.ini new file mode 100644 index 0000000..21f03d9 --- /dev/null +++ b/dot-config/gtk-3.0/settings.ini @@ -0,0 +1,4 @@ +[Settings] +gtk-theme-name=Ant-Dracula +gtk-cursor-theme-name=Haiku +gtk-icon-theme-name=Haiku diff --git a/dot-config/gtkrc b/dot-config/gtkrc new file mode 100644 index 0000000..fd9b8e4 --- /dev/null +++ b/dot-config/gtkrc @@ -0,0 +1,3 @@ +gtk-theme-name="Ant-Dracula" +gtk-cursor-theme-name="Haiku" +gtk-icon-theme-name="Haiku" diff --git a/dot-config/yt-dlp/config b/dot-config/yt-dlp/config new file mode 100644 index 0000000..ec1418b --- /dev/null +++ b/dot-config/yt-dlp/config @@ -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" diff --git a/dot-local/bin/aliases b/dot-local/bin/aliases index 1639628..fcf54b8 100755 --- a/dot-local/bin/aliases +++ b/dot-local/bin/aliases @@ -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 base64d 'echo (echo $argv | base64 -d 2>/dev/null);:' 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 clip 'xclip -sel clip' a cpugov 's cpupower frequency-set -g performance' @@ -36,12 +37,15 @@ a se 's eopkg' a spleet 'spleeter separate -o . -c flac' a ta 'tmux a -t (math 0 + "0$argv");:' 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 up 'se up --y' a v vi 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 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"' @@ -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 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 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 dwarf 'mkdwarfs -i . -o $PWD.dwarfs' a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i' diff --git a/dot-local/bin/setup b/dot-local/bin/setup index 28dc9f6..e0877c7 100755 --- a/dot-local/bin/setup +++ b/dot-local/bin/setup @@ -4,7 +4,7 @@ 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 quodlibet spek" 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" rice="ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow" 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 echo source ~/.config/bashrc > ~/.bashrc +ln -s ~/.config/gtkrc ~/.gtkrc-2.0 install -D <(echo set -g mouse on) ~/.config/tmux/tmux.conf mkdir -p ~/.parallel/will-cite @@ -42,3 +43,7 @@ nvim +PlugUpdate +q +q chsh -s $(which fish) 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