diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-10-27 09:45:51 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-10-27 09:45:51 +0200 |
commit | 65d4fba206470e4ae1cc5730b1ad5415c9e4eaf2 (patch) | |
tree | 28a15f56f21c12c9e9590a90fe27111897d7f347 /browser-work | |
parent | e87e1f05003cb06cbdcaf6e8a5556389b96ef7e2 (diff) |
browser
Diffstat (limited to 'browser-work')
-rwxr-xr-x | browser-work | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/browser-work b/browser-work new file mode 100755 index 0000000..a858c8a --- /dev/null +++ b/browser-work @@ -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.3 /usr/bin/env chromium-browser --reset-variation-state $@ +else + /usr/bin/env chromium-browser $@ +fi + |