script cleanup, addition of unicode file
This commit is contained in:
parent
be86d72beb
commit
aee57c26f0
5 changed files with 1227 additions and 12 deletions
|
@ -9,7 +9,6 @@ visual="${1:0:20}"..."${1: -7}"
|
|||
else
|
||||
visual="$1"
|
||||
fi
|
||||
echo $visual
|
||||
|
||||
x=$(echo -e "mpv\nmpv (loop)\nwget\nfeh\nbrowser\nw3m\nmpv (float)" | dmenu -i -p "How should I open '$visual'?")
|
||||
case "$x" in
|
||||
|
|
|
@ -8,7 +8,8 @@ case $(echo -e "Screencast\nVideo only\nAudio only" | dmenu -i -p "Select record
|
|||
Screencast) screencast ;;
|
||||
"Audio only") audio ;;
|
||||
"Video only") video ;;
|
||||
esac ;}
|
||||
esac
|
||||
echo $! > ~/.larbs/.recordpid ;}
|
||||
|
||||
# If already running, will ask to end previous recording.
|
||||
|
||||
|
@ -21,4 +22,4 @@ asktoend;
|
|||
else
|
||||
asktype;
|
||||
fi
|
||||
echo $response
|
||||
echo "$response"
|
||||
|
|
15
.scripts/lmc
15
.scripts/lmc
|
@ -4,18 +4,17 @@
|
|||
|
||||
newvol="pkill -RTMIN+10 i3blocks"
|
||||
# Uncomment if i3mpdupdate isn't running:
|
||||
#newmpd="pkill -RTMIN+11 i3blocks"
|
||||
|
||||
case "$1" in
|
||||
"up") pamixer --allow-boost -i "$2" ; $newvol ;;
|
||||
"down") pamixer --allow-boost -d "$2" ; $newvol ;;
|
||||
"mute") pamixer --allow-boost -t ; $newvol ;;
|
||||
"truemute") pamixer --allow-boost -m ; $newvol ;;
|
||||
"toggle") mpc toggle ; $newmpd ;;
|
||||
"pause") mpc pause ; $newmpd ; pauseallmpv ;;
|
||||
"forward") mpc seek +"$2" ; $newmpd ;;
|
||||
"back") mpc seek -"$2" ; $newmpd ;;
|
||||
"next") mpc next ; $newmpd ;;
|
||||
"prev") mpc prev ; $newmpd ;;
|
||||
"replay") mpc seek 0% ; $newmpd ;;
|
||||
"toggle") mpc toggle ;;
|
||||
"pause") mpc pause ; pauseallmpv ;;
|
||||
"forward") mpc seek +"$2" ;;
|
||||
"back") mpc seek -"$2" ;;
|
||||
"next") mpc next ;;
|
||||
"prev") mpc prev ;;
|
||||
"replay") mpc seek 0% ;;
|
||||
esac
|
||||
|
|
|
@ -9,4 +9,4 @@ file=$(readlink -f "$1")
|
|||
dir=$(dirname "$file")
|
||||
base="${file%.*}"
|
||||
|
||||
find $dir -maxdepth 1 -type f -regextype gnu-awk -regex "^$base\.(4tc|xref|tmp|pyc|pyo|fls|vrb|fdb_latexmk|bak|swp|aux|log|synctex\(busy\)|lof|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)" -delete
|
||||
find "$dir" -maxdepth 1 -type f -regextype gnu-awk -regex "^$base\.(4tc|xref|tmp|pyc|pyo|fls|vrb|fdb_latexmk|bak|swp|aux|log|synctex\(busy\)|lof|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)" -delete
|
||||
|
|
1216
.scripts/unicode
Normal file
1216
.scripts/unicode
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue