summary refs log tree commit diff stats
path: root/autorandr
diff options
context:
space:
mode:
authorAlan Pearce2019-08-28 16:47:27 +0200
committerAlan Pearce2019-08-28 16:47:47 +0200
commit9f5f996b0034949f447ecab9c5d3ab1a3c6794e7 (patch)
treebb346927d32fe0c6edcb4ceb4a6dd29d8da12d03 /autorandr
parent18625462d274da8133d0b460dd6ac6b7d1213bc4 (diff)
downloaddotfiles-9f5f996b0034949f447ecab9c5d3ab1a3c6794e7.tar.lz
dotfiles-9f5f996b0034949f447ecab9c5d3ab1a3c6794e7.tar.zst
dotfiles-9f5f996b0034949f447ecab9c5d3ab1a3c6794e7.zip
autorandr: remove DPI setting
Diffstat (limited to 'autorandr')
-rwxr-xr-xautorandr/.config/autorandr/postswitch13
1 files changed, 0 insertions, 13 deletions
diff --git a/autorandr/.config/autorandr/postswitch b/autorandr/.config/autorandr/postswitch
index 85a7cfe..25b068d 100755
--- a/autorandr/.config/autorandr/postswitch
+++ b/autorandr/.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'"