External display automatic DPI scaling script

This commit is contained in:
[Alien] 2021-05-14 12:58:21 +03:00
parent 531bd36f5c
commit bf97354dbf
1 changed files with 7 additions and 0 deletions

7
hdmi/hdmi Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
xrandr-extend hdmi
xinput --map-to-output 'IPTS Touch' eDP1
xinput --map-to-output 'IPTS Stylus Pen (0)' eDP1
xinput --map-to-output 'IPTS Stylus Eraser (0)' eDP1
killall plasmashell
kstart5 plasmashell