Update 2023-01-15 20:32 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-01-15 20:32:22 +01:00
parent 4cac041457
commit 8f1e99fcd5
2 changed files with 4 additions and 3 deletions

5
.kshrc
View File

@@ -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