| Switching VPN to SWE, feed updates, default browser env changes. - dotfiles - T… | |
| git clone git://jay.scot/dotfiles | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit c7c6e931761b3b76ac2ac404523f3488ca32d947 | |
| parent c7458617ad8e8e9e5b6531d9f3903cd0a1a62b17 | |
| Author: Jay Scott <[email protected]> | |
| Date: Tue, 18 Nov 2025 22:29:18 +0000 | |
| Switching VPN to SWE, feed updates, default browser env changes. | |
| Diffstat: | |
| M ashrc | 8 +++++--- | |
| M bin/link-handler | 4 +++- | |
| M lynx/bookmarks.html | 5 +++-- | |
| M lynx/config | 3 +-- | |
| 4 files changed, 12 insertions(+), 8 deletions(-) | |
| --- | |
| diff --git a/ashrc b/ashrc | |
| @@ -7,7 +7,7 @@ export XDG_STATE_HOME="$HOME/.local/state" | |
| GPG_TTY=$(tty) | |
| export GPG_TTY | |
| export EDITOR="nvim" | |
| -export BROWSER="qutebrowser" | |
| +export BROWSER="lynx" | |
| export PATH=$PATH:$HOME/bin | |
| # tools | |
| @@ -54,6 +54,8 @@ alias mutt='neomutt' | |
| alias mpv="mpv --autofit=30% --really-quiet --no-terminal" | |
| # vpn | |
| -alias von='doas resolvconf -u && doas wg-quick up fi-hel-wg-002' | |
| -alias voff='doas wg-quick down fi-hel-wg-002' | |
| +alias von='doas resolvconf -u && doas wg-quick up se-sto-wg-011' | |
| +alias voff='doas wg-quick down se-sto-wg-011' | |
| alias vcheck='curl https://am.i.mullvad.net/connected' | |
| + | |
| +alias s='ddgr --unsafe --noua' | |
| diff --git a/bin/link-handler b/bin/link-handler | |
| @@ -9,6 +9,7 @@ gopher="foot -e lynx" | |
| pdf="zathura" | |
| images="swayimg" | |
| torrent="qbittorrent" | |
| +browser="rdrview" | |
| uri="$1" | |
| uri_lower="$(printf "%s" "$uri" | tr '[:upper:]' '[:lower:]')" | |
| @@ -33,6 +34,7 @@ case "$uri_lower" in | |
| $launcher "$images" "$uri" | |
| ;; | |
| *) | |
| - $launcher "$BROWSER" "$uri" | |
| + #$launcher "$BROWSER" "$uri" | |
| + $launcher $browser "$uri" | |
| ;; | |
| esac | |
| diff --git a/lynx/bookmarks.html b/lynx/bookmarks.html | |
| @@ -11,8 +11,10 @@ | |
| <p> | |
| <ol> | |
| <h2>Gopher</h2> | |
| +<li><a href="gopher://gopher.floodgap.com/7/v2/vs">Floodgap</a></li> | |
| +<li><a href="gopher://gopher.icu/1/quarry">Quarry</a></li> | |
| +<li><a href="gopher://gopher.viste.fr/1/ogup/list">Server List</a></li> | |
| <li><a href="gopher://jay.scot/">jay.scot</a></li> | |
| -<li><a href="gopher://1436.ninja/1/Port70News">Port 70 News</a></li> | |
| <li><a href="gopher://gopher.metafilter.com/1/MetaFilter">Metafilter</a></li> | |
| <li><a href="gopher://hngopher.com">Hacker News</a></li> | |
| <li><a href="gopher://gopherpedia.com/">gopherpedia</a></li> | |
| @@ -20,7 +22,6 @@ | |
| <li><a href="gopher://gopher.black/1/moku-pona">Aggregator of phlog</a></li> | |
| <li><a href="gopher://i-logout.cz/1/bongusta/">Bongusta</a></li> | |
| <li><a href="gopher://gopher.icu/">Ian J</a></li> | |
| -<li><a href="gopher://floodgap.com/">Floodgap</a></li> | |
| <hr> | |
| <h2>Web</h2> | |
| <li><a href="https://brutalist.report/topic/tech?limit=5">Brutalist Tech</a></… | |
| diff --git a/lynx/config b/lynx/config | |
| @@ -17,8 +17,7 @@ DEFAULT_EDITOR:/usr/bin/nvim | |
| DEFAULT_KEYPAD_MODE:LINKS_ARE_NUMBERED | |
| # clean and read | |
| -# bind w exec rdrview -B lynx -A "Lynx/2.9.2" "%l" | |
| -EXTERNAL:http:rdrview -B lynx -A 'Lynx/2.9.2' '%s' | |
| +EXTERNAL:http:rdrview '%s' | |
| # hide help menus | |
| DEFAULT_USER_MODE:ADVANCED |