summaryrefslogtreecommitdiff
path: root/gdk_scale
diff options
context:
space:
mode:
Diffstat (limited to 'gdk_scale')
-rwxr-xr-xgdk_scale4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk_scale b/gdk_scale
new file mode 100755
index 0000000..da2a457
--- /dev/null
+++ b/gdk_scale
@@ -0,0 +1,4 @@
+#!/usr/bin/env zsh
+
+export GDK_SCALE=$1 GDK_DPI_SCALE=$(printf '%.1f' $((1.0/$1)))
+exec $2