summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbrowser4
-rwxr-xr-xbrowser-work11
2 files changed, 13 insertions, 2 deletions
diff --git a/browser b/browser
index e4bb7aa..a8f8612 100755
--- a/browser
+++ b/browser
@@ -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
+