From a7f6bcbf2930fda0547136491bf1a67c3b337224 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Wed, 14 Oct 2020 23:57:21 +0200 Subject: . --- i3/load_resources.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 i3/load_resources.sh (limited to 'i3/load_resources.sh') diff --git a/i3/load_resources.sh b/i3/load_resources.sh new file mode 100755 index 0000000..59f8ee2 --- /dev/null +++ b/i3/load_resources.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +xrdb -load ~/.Xresources +(xrandr | grep -q "connected 3840x2160") && \ + xrandr --dpi 120 && \ + echo "Xft.dpi: 120" | xrdb -override + -- cgit v1.2.3-70-g09d2