mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 10:18:34 +02:00
xsettings: when using display port adapter, keep HiDPI settings too
In fact, we should detect we have some videoprojector and do that.
This commit is contained in:
parent
cb7763f070
commit
01d65673ca
1 changed files with 1 additions and 1 deletions
|
@ -6,9 +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' | \
|
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
|
sort | tr '\n' ':') in
|
||||||
zoro,eDP1:) dpi=144 ;;
|
zoro,eDP1:) dpi=144 ;;
|
||||||
zoro,eDP1:HDMI2:) dpi=144 ;;
|
|
||||||
zoro,eDP-1:) dpi=144 ;;
|
zoro,eDP-1:) dpi=144 ;;
|
||||||
zoro,eDP-1:HDMI-2:) dpi=144 ;;
|
zoro,eDP-1:HDMI-2:) dpi=144 ;;
|
||||||
|
zoro,eDP-1:DP-1:) dpi=144 ;;
|
||||||
*) dpi=96 ;;
|
*) dpi=96 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue