dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0eec977ad585a4ce257a430fe655a6a67fda0852
parent 4cdbd06a81f72cad6be432c49b2a8cc048957863
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 30 Sep 2020 20:10:41 +0200

surf-open.sh: ignore built-in display when calculating zoom factor

Diffstat:
M.local/bin/surf-open.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/surf-open.sh b/.local/bin/surf-open.sh @@ -13,7 +13,7 @@ if command -v surf-clean-cookies >/dev/null 2>&1; then fi screen_resolution() { - xrandr -q | awk ' + xrandr -q | grep -v eDP-1 | awk ' { if (printline) { gsub(/x.*/,"", $0); print $1; exit } if (match($0, / connected/)) { printline=1 }