dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 00ea7036fb8f7cdfee06ec9c2b7f5bffb21106fa
parent 85847b2dd6e59b9e080f8c76e680f5ac7ff25008
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  4 Nov 2020 11:42:38 +0100

.xsession: only enable high-dpi on lmsc for first X session

Diffstat:
M.xsession | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.xsession b/.xsession @@ -3,7 +3,7 @@ [ -f ~/.xprofile ] && . ~/.xprofile [ -f ~/.Xresources ] && xrdb ~/.Xresources -if [ "$(hostname)" = "lmsc.home" ]; then +if [ "$(hostname)" = "lmsc.home" ] && [ "$DISPLAY" = :0 ]; then [ -f ~/.xprofile-hidpi ] && . ~/.xprofile-hidpi [ -f ~/.Xresources-hidpi ] && xrdb -merge ~/.Xresources-hidpi fi