diff --git a/.bin/firefox b/.bin/firefox index 3c32203..f59a8a4 100755 --- a/.bin/firefox +++ b/.bin/firefox @@ -3,4 +3,7 @@ export XDG_CACHE_HOME=/tmp export MOZ_X11_EGL=1 export MOZ_PLUGIN_PATH=/usr/local/lib/mozilla/plugins unset _SWM_WS -/usr/local/bin/firefox --new-window "$@" + +pgrep -qf bin/firefox && args="--new-window" + +/usr/local/bin/firefox $args "$@" diff --git a/.bin/sshot b/.bin/sshot index f8d1376..2b78c31 100755 --- a/.bin/sshot +++ b/.bin/sshot @@ -2,6 +2,9 @@ . ${HOME}/.bin/_config +unset QT_FONT_DPI +unset GDK_DPI_SCALE + trap cleanup 1 2 3 6 cleanup() { rm -f "$file"; } diff --git a/.bin/update-adlist b/.bin/update-adlist index b163119..921a138 100755 --- a/.bin/update-adlist +++ b/.bin/update-adlist @@ -102,7 +102,7 @@ _domainfilter() { grep -Ev "torrent|tattoo|xhamster|xvideos|porn|motherless|redgifs" \ | grep -Ev "whatsapp\.net|whatsapp\.com|instagram\.com" \ | grep -Ev "adobe\.com|adobelogin\.com" \ - | grep -Ev "microsoft\.com|archive\.org" + | grep -Ev "microsoft\.com|archive\.org|sony\.com|playstation|psn|fotostelvio" } _assemble() { diff --git a/.kshrc b/.kshrc index 3ec3a95..4c39553 100644 --- a/.kshrc +++ b/.kshrc @@ -27,7 +27,7 @@ export LANG LC_MESSAGES LC_NUMERIC LC_TIME ### SOFTWARE PREFERENCES EDITOR="vim" VISUAL="vim" -BROWSER="firefox --new-window" +BROWSER="firefox" PAGER="less" export EDITOR VISUAL BROWSER PAGER