mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-21 22:32:46 +00:00
Clean up tmux, twitch-dl, waifu2x
This commit is contained in:
parent
9179b974df
commit
e329571d47
|
@ -1 +0,0 @@
|
|||
set -g mouse on
|
|
@ -35,11 +35,12 @@ a se 's eopkg'
|
|||
a spleet 'spleeter separate -o . -c flac'
|
||||
a ta 'tmux a -t (math 0 + "0$argv");:'
|
||||
a tar bsdtar
|
||||
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]; set -e argv[1])'
|
||||
a wm 'startx (which $argv[1]; argv[2..-1])'
|
||||
|
||||
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"'
|
||||
|
|
|
@ -16,8 +16,11 @@ se it -c system.devel $audio $dev $gui $media $rice $sys $term $web
|
|||
se rm $gnome firefox hexchat onboard thunderbird
|
||||
se rm --ignore-dependency plata-theme tracker
|
||||
|
||||
echo source ~/.config/bashrc > ~/.bashrc
|
||||
install -D <(echo set -g mouse on) ~/.config/tmux/tmux.conf
|
||||
|
||||
mkdir -p ~/.parallel/will-cite
|
||||
parallel stow --no-folding -d ~/.dotfiles/dot-{} -t ~/.{} . ::: config local
|
||||
echo 'source ~/.config/bashrc' > ~/.parallel/will-cite > ~/.bashrc
|
||||
|
||||
un(){ F=$(mktemp); mkdir -p $2; curl https://api.github.com/repos/$1/releases |\
|
||||
grep -om1 http.\*zip | wget -i- -O$F; unzip $F -d $2;}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
title=$(youtube-dl -e $1 | tr / _)
|
||||
link=$(youtube-dl -g $1)
|
||||
shift
|
||||
|
||||
ffmpeg -i $link -c copy $@ "file:$title.mkv"
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
echo Usage: file scale noise
|
||||
waifu2x-ncnn-vulkan -i $1 -o "${1%.*}"[x$2][L$3].png -s $2 -n $3
|
Loading…
Reference in a new issue