summaryrefslogtreecommitdiff
path: root/browser
blob: a8f8612c49ea2f62e0940ad9c708ae36b4c95389 (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 firefox $@
else
  /usr/bin/env firefox $@
fi