aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2011-10-26add nmaster binds to manpageConnor Lane Smith
2011-10-25apply nmaster patchConnor Lane Smith
2011-10-25apply resize hints in floating layoutConnor Lane Smith
2011-10-25hide clients to the left, not the rightConnor Lane Smith
2011-08-15applied Connors cleanup patch of Eckehards proposed fix of applyrules(), than...garbeam@gmail.com
2011-08-08applied Connors and Valentins patch to improve the unmapnotify handling of br...garbeam@gmail.com
2011-07-29applied Peter Hartlichs nice interim Xinerama and map fix patches, for debugg...garbeam@gmail.com
2011-07-27applied anonymous code cleanup patchgarbeam@gmail.com
2011-07-24added a marker for the flash fullscreen issuegarbeam@gmail.com
2011-07-20changed sleep 20 into sleep 1 in example script as suggested by Snader_LBgarbeam@gmail.com
2011-07-20applied Connors aesthitic buf fix in tile(), thanksgarbeam@gmail.com
2011-07-20#!/bin/sh # MPV Yank/Youtube videos # references: # https://www.rockyourcode.com/til-how-to-watch-youtube-videos-with-mpv-and-keyboard-shortcuts/ fps=30 height=$SCR_HEIGHT url="$(xsel -ob)" flag=s # option f and h may do nothing if redownload? since same filename exist. yt-dlp won't download same file even without --auto-file-renameing=false. how improve? pass argument to aria2c? while getopts Aabd:f:h:su: opt; do case $opt in # s: streaming, a: aria2c then mpv, A: aria2c A|a|s) flag=$opt;; b) format='bestvideo+bestaudio/best';; d) download_dir="$OPTARG";; f) fps="$OPTARG";; h) height="$OPTARG";; u) url="$OPTARG";; \?) exit 1;; esac done if [ -z "$format" ]; then #vformat="[height<=?$height][fps<=?$fps][vcodec!^=?vp9][vcodec!^=?av01]" vformat="[height<=?$height][fps<=?$fps][vcodec!^=?av01]" # usually get .mp4 video + .webm audio on youtube, yt-dlp needs to merge them to .mkv # it used to cause problem, but I forget format="bestvideo$vformat+bestaudio/best$vformat" fi case $flag in # here if use --write-sub, mpv doesn't recognize subtitles? # --embed-subs is a little bit better, but still worse then direct streaming A) yt-dlp -f "$format" --embed-subs -P "${download_dir:-"$XDG_DOWNLOAD_DIR/mpvy/"}" --sponsorblock-remove all "$url";; a) yt-dlp -f "$format" --embed-subs -P "${download_dir:-"$XDG_DOWNLOAD_DIR/mpvy/"}" --sponsorblock-remove all "$url" --exec 'mpv --fs --speed=2';; s) mpv --ytdl-format="$format" --ytdl-raw-options='write-sub=' --fs --speed=2 "$url";; esac # not sure if this is the best practice, but it seems working ;) status=$? [ $status -ne 0 ] && notify-send 'mpvsel failed' exit $status
1bb457a57554'>missed declarationAnselm R Garbe 2011-04-15minor fix of the NetActiveWindow multi-monitor flaw, slight rearrangementAnselm R Garbe 2011-04-14applied Peter/Andreas NetActiveWindow patch in a slightly modified versionAnselm R Garbe 2011-04-12applied Brendan MacDonell's WM_TAKE_FOCUS patch, thanks Brendan!Anselm R Garbe 2011-03-25applied another patch of Hiltjo, thanksAnselm R Garbe 2011-03-25applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)Anselm R Garbe 2011-03-23applied Hiltjo's multimon mouse-based resize fixAnselm R Garbe 2011-01-07applied anonymous patch, I don't think the reversed array access has semantic...Anselm R Garbe 2010-12-02added a todoAnselm R Garbe 2010-11-19applied Hiltjo's cleanup patchAnselm R Garbe 2010-09-27applied Hiltjo's tiny cleanup fixAnselm R Garbe