diff options
-rwxr-xr-x | browser | 4 | ||||
-rwxr-xr-x | browser-work | 11 |
2 files changed, 13 insertions, 2 deletions
@@ -4,8 +4,8 @@ dpi=`xdpyinfo | grep -oP 'resolution:\s+\K\S+'` host=$(hostname) if [[ $dpi == 96x96 ]]; then - GDK_DPI_SCALE=1.6 /usr/bin/env firefox + GDK_DPI_SCALE=1.3 /usr/bin/env firefox $@ else - /usr/bin/env firefox + /usr/bin/env firefox $@ fi 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 + |