diff options
author | Patrick Simianer <p@simianer.de> | 2018-10-19 08:34:38 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2018-10-19 08:34:38 +0200 |
commit | cbbebb3770b572514baf7b67458f4b9d047ff0f4 (patch) | |
tree | a0e8540954a36eff3598f4219baa9b14cf22a3d6 /browser | |
parent | cf7179a73d41a705ef072fcee373c23be2366e88 (diff) | |
parent | 081b22319924e46107b3e3d03a29afb705f9914a (diff) |
merge
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 + |