diff --git a/.bin/cam b/.bin/cam index 5fb04d2..8098f66 100755 --- a/.bin/cam +++ b/.bin/cam @@ -15,12 +15,13 @@ do 30) _fps="-framerate 30" ;; 60) _fps="-framerate 60" ;; raw) _format="-input_format yuyv422" ;; + nv12) _format="-input_format nv12" ;; fullhd) _res="-video_size 1920x1080" ;; hd) _res="-video_size 1280x720" ;; sd) _res="-video_size 640x360" ;; max) _res="max" ;; [0-9]*x[0-9]*) _res="-video_size $arg" ;; - [0-9]) _dev="$arg" ;; + [0-9]) _dev="/dev/video$arg" ;; *) _unknown="$_unknown $arg" ;; esac shift; @@ -38,7 +39,9 @@ then | grep mjpeg \ | xargs \ | cut -d":" -f4 \ - | cut -d " " -f2 \ + | tr ' ' '\n' \ + | sort -n \ + | tail -1 )" _format="-input_format mjpeg" fi diff --git a/.bin/utf8chars b/.bin/utf8chars index 351310e..3fd5780 100755 --- a/.bin/utf8chars +++ b/.bin/utf8chars @@ -18,7 +18,7 @@ nature essen 🍏🍎🍐🍊🍋🍌🍉🍇🍓🍈🍒🍑🍍🍅🍆🌽🍠🍞🍳🍗🍖 🍔🍟🍕🍝🍜🍲🍛🍣🍱🍤🍚🍧🍨🍦🍮🍭🍬🍫🍩🍪🌰 -🍯🍼☕🍵🍶🍺🍻🍷🍸🍹🍴 +🍯🍼☕🍵🍶🍺🍻🍷🍸🍹🍴🥂🍾 activity diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua index f79c900..76db514 100644 --- a/.config/luakit/rc.lua +++ b/.config/luakit/rc.lua @@ -58,7 +58,7 @@ local settings = require "settings" local settings_chrome = require "settings_chrome" -- settings.window.home_page = "luakit://newtab" -settings.window.scroll_step = 600 +-- settings.window.scroll_step = 600 settings.window.zoom_step = 0.2 settings.webview.zoom_level = 90 settings.window.close_with_last_tab = true