Update 2023-01-15 20:32 OpenBSD/amd64
This commit is contained in:
parent
4cac041457
commit
8f1e99fcd5
@ -79,7 +79,7 @@ fi
|
||||
case "$(file -ib "$1")" in
|
||||
# full qualified
|
||||
application/ogg) ogg123 "$1"; ;;
|
||||
application/pdf) mupdf-gl -XJA0 "$1"; ;;
|
||||
application/pdf) pdfarranger "$1"; ;;
|
||||
application/postscript) mupdf-gl -XJA0 "$1"; ;;
|
||||
application/vnd.oasis.opendocument.*) libreoffice "$1"; ;;
|
||||
audio/mpeg) mpg123 "$1"; ;;
|
||||
|
5
.kshrc
5
.kshrc
@ -256,7 +256,7 @@ l() {
|
||||
}
|
||||
|
||||
# cam
|
||||
alias cam="ffplay -loglevel quiet -f v4l2 -input_format mjpeg -video_size 640x360 -i /dev/video0"
|
||||
alias cam="ffplay -loglevel quiet -f v4l2 -input_format mjpeg -video_size 640x360 -i /dev/video"
|
||||
setcam() {
|
||||
_dev=$1
|
||||
echo ln -sf /dev/video${_dev:=0} /dev/video
|
||||
@ -484,9 +484,10 @@ xr_off() {
|
||||
}
|
||||
|
||||
xrandr_set() {
|
||||
set -x
|
||||
for scr in $(xr_secondary)
|
||||
do
|
||||
xrandr --output $scr --$1 $(xr_primary) --mode auto
|
||||
xrandr --output $scr --$1 $(xr_primary) --auto
|
||||
done
|
||||
for scr in $(xr_off)
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user