diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-06-12 13:57:40 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-06-12 13:57:40 +0200 |
commit | a3799e2934ed8952db3baead83457f752307b02c (patch) | |
tree | a53507b75e8d5351f81e834fa6c2de40224ea176 /browser | |
parent | b17b6ee0280bd7a90fa95bd76e3cc966a09639a0 (diff) |
browser
Diffstat (limited to 'browser')
-rwxr-xr-x | browser | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/usr/bin/env zsh + +dpi=`xdpyinfo | grep -oP 'resolution:\s+\K\S+'` +host=$(hostname) + +if [[ $dpi == 96x96 ]]; then + GDK_DPI_SCALE=1.6 /usr/bin/env firefox +else + /usr/bin/env firefox +fi + |