summaryrefslogtreecommitdiff
path: root/browser-work
blob: a858c8a0a4240aa870757af81d3131f04619313f (plain)
1
2
3
4
5
6
7
8
9
10
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