Commit 0f4a3188 authored by Carlos Remuzzi's avatar Carlos Remuzzi
Browse files

adaptando gst a dimensiones reales de pantalla

parent ca54771f
#!/usr/bin/env bash
SCREEN_WIDTH=1920
SCREEN_HEIGHT=1080
SIZE_STRING=$(xdpyinfo | awk '/dimensions/{print $2}')
echo "detectando resolución $SIZE_STRING"
SCREEN_WIDTH="$(cut -d'x' -f1 <<<"$SIZE_STRING")"
SCREEN_HEIGHT="$(cut -d'x' -f2 <<<"$SIZE_STRING")"
AP_NAME=libreCast-s1
if [ $# -eq 1 ];then
......
......@@ -105,9 +105,6 @@ main() {
echo "https://gitlab.geo.gob.bo/agetic/librecast/blob/master/INSTALL.md"
fi
# configuración de la resolucion de pantalla
# xdpyinfo | awk '/dimensions/{print $2}'
printf "${GREEN}"
echo ' ___ __ ______ __ '
echo ' / (_) /_ ________ / ____/___ ______/ /_ '
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment