mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 10:48:35 +02:00
xsettings: when using HDMI output only, keep HiDPI
The HDMI output is used mostly for presentations.
This commit is contained in:
parent
6e5e96d67e
commit
cb7763f070
1 changed files with 2 additions and 0 deletions
|
@ -6,7 +6,9 @@ case $(hostname),$(xrandr --current | \
|
|||
sed -n 's/\([^ ]*\) connected .*[0-9][0-9]*x[0-9][0-9]*+[0-9][0-9]*+[0-9][0-9]* .*/\1/p' | \
|
||||
sort | tr '\n' ':') in
|
||||
zoro,eDP1:) dpi=144 ;;
|
||||
zoro,eDP1:HDMI2:) dpi=144 ;;
|
||||
zoro,eDP-1:) dpi=144 ;;
|
||||
zoro,eDP-1:HDMI-2:) dpi=144 ;;
|
||||
*) dpi=96 ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue