aboutsummaryrefslogtreecommitdiff
path: root/i3/load_resources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3/load_resources.sh')
-rwxr-xr-xi3/load_resources.sh7
1 files changed, 7 insertions, 0 deletions
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
+