#!/usr/bin/bash



hdmi=`xrandr -q|grep -w  connected|grep -w -c HDMI-1`
echo $hdmi
dpiset=`xdpyinfo|grep dots|awk '{print $2 * 1}'`

cat <<EOF
echo ishdmi $hdmi
echo dpiset $dpiset 
xrandr --output eDP-1 --scale .7x.7
killall plasmashell
kstart plasmashell

EOF
cat <<EOF

find native res and physical mm of monitor 0

find largest screen (X in mm )
calculate pix per inch (= pix-X/mm-X/25 and Y: pix-Y/mm-Y/25 )
set dpi to native screen


