summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-04-10 09:40:58 -0700
committerBen Sima <ben@bsima.me>2019-04-10 09:40:58 -0700
commita11c3f21f713e2c9aaf26f50b9cb2452c3610aa9 (patch)
tree72ae46141d5289743932dfa2b28abd2f310cfd68
parent529bb95a20154e9b34f561f75cb372a4f97411b5 (diff)
seeme: position window automatically
-rwxr-xr-xseeme5
1 files changed, 5 insertions, 0 deletions
diff --git a/seeme b/seeme
index 8c04984..1038614 100755
--- a/seeme
+++ b/seeme
@@ -1,5 +1,10 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p ffmpeg-full
+#
+# Window is positioned in the bottom-right corner, plust a 20px border for emacs
+# minibuffer etc. This could be automatically calculated by parsing xrandr.
+
ffplay -f video4linux2 -i /dev/video0 \
-video_size 320x240 -noborder \
+ -left 1580 -top 820
-loglevel 0