blob: e4bb7aa8365c407819dcc2658c20189eebcb412a (
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.6 /usr/bin/env firefox
else
/usr/bin/env firefox
fi
|