Configs update. - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 40e6e0ceac7b84526d086047c7e3346987463af9
(DIR) parent d94eade50aa3021fb93ee7da4ec4787cc8552a61
(HTM) Author: Jay Scott <me@jay.scot>
Date: Sun, 18 Jun 2023 11:19:50 +0100
Configs update.
Diffstat:
M .gitignore | 2 ++
M README | 5 ++---
M ashrc | 4 ++++
M bootstrap.sh | 2 +-
A lynx/bookmarks.html | 24 ++++++++++++++++++++++++
A lynx/config | 30 ++++++++++++++++++++++++++++++
A lynx/theme.lss | 115 +++++++++++++++++++++++++++++++
M sway/config | 5 +++++
8 files changed, 183 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/.gitignore b/.gitignore
@@ -21,6 +21,8 @@ bin/lf
bin/img2sixel
bin/scummvm
bin/sixel2png
+bin/senpai
+bin/ytfzf
# vim
vim/bundle
(DIR) diff --git a/README b/README
@@ -6,8 +6,8 @@ the daily tooling I use. Since 2011, I mainly use the terminal for
everything.
Privacy is at the forefront of my mind as such some of my browser
-settings maybe too restrictive for some. I also don't use social media at
-all, the closest I come is using IRC.
+settings maybe too restrictive for some. I also don't use social media
+at all, the closest I come is using IRC.
operating sys : alpine linux
@@ -18,7 +18,6 @@ all, the closest I come is using IRC.
browser : qutebrowser
video : mpv
music : moc
- gaming : scummvm
password mgt : pass
vpn : mullvad
news : sfeed
(DIR) diff --git a/ashrc b/ashrc
@@ -27,6 +27,10 @@ export PS1="[\[$(tput sgr0)\]\[\033[38;5;7m\]\W\[$(tput sgr0)\]] \\$ \[$(tput sg
export BEMENU_OPTS="-p '> ' --tb '#013220' --tf '#ffffff' --hf '#444444'"
+# lynx
+export LYNX_CFG=$HOME/.config/lynx/config
+export LYNX_LSS=$HOME/.config/lynx/theme.lss
+
# safety first kids!
alias cp='cp -i'
alias mv='mv -i'
(DIR) diff --git a/bootstrap.sh b/bootstrap.sh
@@ -4,7 +4,7 @@ DOTFILES=$(pwd)
FILES='ashrc castgetrc profile vimrc'
ROOT='bin'
-CONFIG='fdm foot git moc mutt qutebrowser sfeed senpai sway'
+CONFIG='fdm foot git lynx moc mutt qutebrowser sfeed senpai sway'
link() {
for f in $FILES; do ln -sfn "$DOTFILES/$f" "$HOME/.$f"; done
(DIR) diff --git a/lynx/bookmarks.html b/lynx/bookmarks.html
@@ -0,0 +1,24 @@
+<head>
+<META http-equiv="content-type" content="text/html;charset=utf-8">
+<title>Bookmark file</title>
+</head>
+ You can delete links using the remove bookmark command. It is usually
+ the 'R' key but may have been remapped by you or your system
+ administrator.<br>
+ This file also may be edited with a standard text editor to delete
+ outdated or invalid links, or to change their order.
+
+<p>
+<ol>
+<LI><a href="gopher://jay.scot/">jay.scot</a>
+<LI><a href="gopher://freeshell.org/">freeshell</a>
+<LI><a href="gopher://bitreich.org/">bitreich.org</a>
+<LI><a href="gopher://gopherpedia.com/">gopherpedia</a>
+<LI><a href="gopher://bay.parazy.de:666">piratebay</a>
+<LI><a href="gopher://typed-hole.org/1/roll/">typed-hole phlog</a>
+<LI><a href="gopher://bitreich.org/1/lawn">The Gopher Lawn</a>
+<LI><a href="gopher://gopher.black/1/moku-pona">Aggregator of phlog</a>
+<LI><a href="gopher://uninformativ.de/">Uninform</a>
+<LI><a href="gopher://i-logout.cz/1/bongusta/">Bongusta! phlog aggregator</a>
+<LI><a href="gopher://floodgap.com/">Floodgap</a>
+<LI><a href="gopher://gopher.icu/">gopher.icu</a>
(DIR) diff --git a/lynx/config b/lynx/config
@@ -0,0 +1,30 @@
+STARTFILE:gopher://freeshell.org
+
+# bookmarks
+DEFAULT_BOOKMARK_FILE:./.config/lynx/bookmarks.html
+
+# enable unicode
+CHARACTER_SET:utf-8
+ASSUME_CHARSET:utf-8
+
+NO_PAUSE:TRUE
+MINIMAL_COMMENTS:TRUE
+
+DEFAULT_KEYPAD_MODE:LINKS_AND_FIELDS_ARE_NUMBERED
+
+# hide help menus
+DEFAULT_USER_MODE:ADVANCED
+
+# reject all cookies
+ACCEPT_ALL_COOKIES:FALSE
+SET_COOKIES:FALSE
+
+# dont send referrer
+NO_REFERER_HEADER:TRUE
+REFERER_WITH_QUERY:DROP
+
+# vi keys
+VI_KEYS_ALWAYS_ON:TRUE
+
+KEYMAP:q:ABORT
+KEYMAP:d:DOWNLOAD
(DIR) diff --git a/lynx/theme.lss b/lynx/theme.lss
@@ -0,0 +1,115 @@
+# Setting the normal and default types lets us keep (almost) the same colors
+# whether the terminal's default colors are white-on-black or black-on-white.
+# It is not exact since the default "white" is not necessarily the same color
+# as the ANSI lightgray, but is as close as we can get in a standard way.
+#
+# If you really want the terminal's default colors, and if lynx is built using
+# ncurses' default-color support, remove these two lines:
+normal: normal: lightgray:black
+default: normal: white:black
+
+# Normal type styles correspond to HTML tags.
+#
+# The next line (beginning with "em") means: use bold if mono, otherwise
+# brightblue on <defaultbackground>
+em: bold: brightblue
+strong: bold: brightred
+b: bold: red
+i: bold: brightblue
+a: bold: green
+img: dim: brown
+fig: normal: gray
+caption: reverse: brown
+hr: normal: yellow
+blockquote: normal: brightblue
+ul: normal: brown
+address: normal: magenta
+title: normal: magenta
+tt: dim: brightmagenta: black
+#h1: dim: yellow: blue
+label: normal: magenta
+q: normal: yellow: magenta
+small: dim: default
+big: bold: yellow
+sup: bold: yellow
+sub: dim: gray
+li: normal: magenta
+code: normal: cyan
+cite: normal: cyan
+
+table: normal: brightcyan
+tr: bold: brown
+td: normal: default
+br: normal: default
+
+# Special styles - not corresponding directly to HTML tags
+# alert - status bar, when message begins "Alert".
+# alink - active link
+# normal - default attributes
+# status - status bar
+# whereis - whereis search target
+#
+#normal:normal:default:blue
+alink: reverse: yellow: black
+#status: reverse: yellow: blue
+alert: bold: yellow: red
+whereis: reverse+underline: magenta: cyan
+# currently not used
+#value:normal:green
+
+menu.bg: normal: black: lightgray
+menu.frame: normal: black: lightgray
+menu.entry: normal: lightgray: black
+menu.n: normal: red: gray
+menu.active: normal: yellow: black
+menu.sb: normal: brightred: lightgray
+
+forwbackw.arrow:reverse
+hot.paste: normal: brightred: gray
+
+# Styles with classes - <ul class=red> etc.
+ul.red: underline: brightred
+ul.blue: bold: brightblue
+li.red: reverse: red: yellow
+li.blue: bold: blue
+strong.a: bold: black: red
+em.a: reverse: black: blue
+strong.b: bold: white: red
+em.b: reverse: white: blue
+strong.debug: reverse: green
+font.letter: normal: white: blue
+input.submit: normal: cyan
+tr.baone: bold: yellow
+tr.batwo: bold: green
+tr.bathree: bold: red
+#
+# Special handling for link.
+link: normal: white
+link.green: bold: brightgreen
+link.red: bold: black: red
+link.blue: bold: white: blue
+link.toc: bold: black: white
+# Special cases for link - the rel or title is appended after the class.
+# <link rel=next class=red href="1">
+link.red.next: bold: red
+link.red.prev: bold: yellow: red
+link.blue.prev: bold: yellow: blue
+link.blue.next: bold: blue
+link.green.toc: bold: white: green
+#
+# Define styles that will be used when syntax highlighting is requested
+# (commandline option -prettysrc).
+span.htmlsrc_comment:normal: white
+span.htmlsrc_tag:normal: white
+#If you don't like that the tag name and attribute name are displayed
+#in different colors, comment the following line.
+span.htmlsrc_attrib:normal: cyan
+span.htmlsrc_attrval:normal: magenta
+span.htmlsrc_abracket:normal: white
+span.htmlsrc_entity:normal: white
+##span.htmlsrc_href:
+##span.htmlsrc_entire:
+span.htmlsrc_badseq:normal: red
+span.htmlsrc_badtag:normal: red
+span.htmlsrc_badattr:normal: red
+span.htmlsrc_sgmlspecial:normal: yellow
(DIR) diff --git a/sway/config b/sway/config
@@ -34,6 +34,11 @@ input * {
xkb_variant "extd"
}
+# monitors
+output HDMI-A-1 pos 0 0 res 1920x1080
+output DP-1 pos 1920 0 res 1600x900
+focus output DP-1
+
# Keybinds
bindsym $mod+Space exec $term
bindsym $mod+p exec $menu