all repos — nixfiles @ 9f5f996b0034949f447ecab9c5d3ab1a3c6794e7

System and user configuration, managed by nix and home-manager

autorandr: remove DPI setting
Alan Pearce alan@alanpearce.eu
Wed, 28 Aug 2019 16:47:27 +0200
commit

9f5f996b0034949f447ecab9c5d3ab1a3c6794e7

parent

18625462d274da8133d0b460dd6ac6b7d1213bc4

1 files changed, 0 insertions(+), 13 deletions(-)

jump to
M autorandr/.config/autorandr/postswitchautorandr/.config/autorandr/postswitch
@@ -1,15 +1,2 @@ #!/bin/sh
-DPI=96
-case $AUTORANDR_CURRENT_PROFILE in
-  ("laptop")
-    DPI=109
-    ;;
-  ("docked")
-    DPI=109
-    ;;
-esac
-
-xrandr --dpi $DPI
-emacsclient -e "(setq display-pixels-per-inch $DPI)" > /dev/null
-
 notify-send --expire-time=5000 "Display profile: '$AUTORANDR_CURRENT_PROFILE'"