Merge branch 'master' of github.com:LukeSmithxyz/voidrice
This commit is contained in:
commit
eef59cafd7
8 changed files with 9 additions and 9 deletions
|
@ -2,5 +2,5 @@ https://lukesmith.xyz/rss.xml
|
||||||
https://notrelated.libsyn.com/rss
|
https://notrelated.libsyn.com/rss
|
||||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Luke Smith (YouTube)"
|
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Luke Smith (YouTube)"
|
||||||
https://landchad.net/rss.xml
|
https://landchad.net/rss.xml
|
||||||
http://based.cooking/rss.xml
|
https://based.cooking/rss.xml
|
||||||
https://www.archlinux.org/feeds/news/ "tech"
|
https://www.archlinux.org/feeds/news/ "tech"
|
||||||
|
|
|
@ -14,7 +14,7 @@ Plug 'junegunn/goyo.vim'
|
||||||
Plug 'jreybert/vimagit'
|
Plug 'jreybert/vimagit'
|
||||||
Plug 'lukesmithxyz/vimling'
|
Plug 'lukesmithxyz/vimling'
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
Plug 'bling/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'ap/vim-css-color'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
|
@ -53,5 +53,5 @@ case "$ext" in
|
||||||
scad) openscad -o "$base".stl "$file" ;;
|
scad) openscad -o "$base".stl "$file" ;;
|
||||||
sent) setsid -f sent "$file" 2>/dev/null ;;
|
sent) setsid -f sent "$file" 2>/dev/null ;;
|
||||||
tex) textype "$file" ;;
|
tex) textype "$file" ;;
|
||||||
*) head -n1 "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
*) sed -n '/^#!/s/^#!//p; q' "$file" | xargs -r -I % "$file" ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -31,7 +31,7 @@ screencast() { \
|
||||||
ffmpeg -y \
|
ffmpeg -y \
|
||||||
-f x11grab \
|
-f x11grab \
|
||||||
-framerate 60 \
|
-framerate 60 \
|
||||||
-s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \
|
-s "$(xdpyinfo | awk '/dimensions/ {print $2;}')" \
|
||||||
-i "$DISPLAY" \
|
-i "$DISPLAY" \
|
||||||
-f alsa -i default \
|
-f alsa -i default \
|
||||||
-r 30 \
|
-r 30 \
|
||||||
|
@ -43,7 +43,7 @@ screencast() { \
|
||||||
|
|
||||||
video() { ffmpeg \
|
video() { ffmpeg \
|
||||||
-f x11grab \
|
-f x11grab \
|
||||||
-s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \
|
-s "$(xdpyinfo | awk '/dimensions/ {print $2;}')" \
|
||||||
-i "$DISPLAY" \
|
-i "$DISPLAY" \
|
||||||
-c:v libx264 -qp 0 -r 30 \
|
-c:v libx264 -qp 0 -r 30 \
|
||||||
"$HOME/video-$(date '+%y%m%d-%H%M-%S').mkv" &
|
"$HOME/video-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
|
|
@ -11,4 +11,4 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check crossref.org for the bib citation.
|
# Check crossref.org for the bib citation.
|
||||||
curl -s "http://api.crossref.org/works/$doi/transform/application/x-bibtex" -w "\\n"
|
curl -s "https://api.crossref.org/works/$doi/transform/application/x-bibtex" -w "\\n"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
[ -z "$1" ] && { "$BROWSER"; exit; }
|
[ -z "$1" ] && { "$BROWSER"; exit; }
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
*mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*|*videos.lukesmith.xyz*)
|
*mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*|*videos.lukesmith.xyz*|*odysee.com*)
|
||||||
setsid -f mpv -quiet "$1" >/dev/null 2>&1 ;;
|
setsid -f mpv -quiet "$1" >/dev/null 2>&1 ;;
|
||||||
*png|*jpg|*jpe|*jpeg|*gif)
|
*png|*jpg|*jpe|*jpeg|*gif)
|
||||||
curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" >/dev/null 2>&1 & ;;
|
curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" >/dev/null 2>&1 & ;;
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
# first argument is the video link, second is the quality (480 or 1080)
|
# first argument is the video link, second is the quality (480 or 1080)
|
||||||
# 13/07/20 - Arthur Bais
|
# 13/07/20 - Arthur Bais
|
||||||
|
|
||||||
link="$(echo "$1" | sed "s/videos\/watch/download\/torrents/")""-$2.torrent"
|
link="$(echo "$1" | sed "s/w/download\/torrents/")""-$2.torrent"
|
||||||
transadd "$link"
|
transadd "$link"
|
||||||
|
|
|
@ -7,7 +7,7 @@ queuefile="${XDG_DATA_HOME:-$HOME/.local/share}/newsboat/queue"
|
||||||
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
[ -z "$line" ] && continue
|
[ -z "$line" ] && continue
|
||||||
url="$(echo "$line" | awk '{print $1}')"
|
url="${line%%[ ]*}"
|
||||||
qndl "$url" "curl -LO"
|
qndl "$url" "curl -LO"
|
||||||
done < "$queuefile"
|
done < "$queuefile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue