From d2e87e2d9f8ee2fd014087dafdc8c7cbd229a088 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 9 Oct 2024 16:00:11 -0500 Subject: switched to alacritty and updated some shell scripts and w3m config --- .aliases | 2 + .bash_history | 1562 +++++++++++++++++++++++++++++++++ .bashrc | 13 +- .config/alacritty/alacritty.toml | 49 ++ .config/alacritty/solarized_dark.toml | 28 + .vimrc | 15 + .w3m/RestoreSession.txt | 60 +- .w3m/bin/w3mlastsession | 4 +- .w3m/config | 4 +- .w3m/keymap | 14 +- .w3m/siteconf | 27 + 11 files changed, 1737 insertions(+), 41 deletions(-) create mode 100644 .config/alacritty/alacritty.toml create mode 100644 .config/alacritty/solarized_dark.toml create mode 100644 .w3m/siteconf diff --git a/.aliases b/.aliases index de97ca7..73d47ba 100644 --- a/.aliases +++ b/.aliases @@ -91,6 +91,7 @@ alias @i="vim $HOME/notes/@inbox.txt" # open and close encrypted volume: alias closevault="cd && cd ~/documents && tar cz vault/ -f vault.tar && gpg -c vault.tar && rm vault.tar && rm -rf vault && cd" alias openvault="cd && cd ~/documents && gpg vault.tar.gpg && tar -xzf vault.tar && rm vault.tar.gpg && rm -rf vault.tar && cd vault" + # strip spaces in file names alias stripspaces='for f in *\ *; do mv "$f" "${f// /_}"; done' @@ -100,6 +101,7 @@ alias watchtraffic="nload wlp3s0" alias mt="vnstat -m" alias mntHFS="sudo mount -t hfsplus -o force,rw" +alias j="jrnl" # get battery info: alias charge='upower -i /org/freedesktop/UPower/devices/battery_BAT1 | egrep "time to empty|percentage"' diff --git a/.bash_history b/.bash_history index e6d3bbb..3112749 100644 --- a/.bash_history +++ b/.bash_history @@ -66321,3 +66321,1565 @@ ll .w3m/ v .gitignore #1727799819 gs +#1727799843 +ga . +#1727799846 +gs +#1727799857 +gc -m"made a few alias changes" +#1727799866 +git push +#1727798638 +mutt +#1727799888 +cd ../08_meyers-point/ +#1727799897 +cd ../08_parents/ +#1727799913 +~/./bin/annex-photo-add-exif.sh +#1727799918 +~/./bin/annex-photo-add-exif.sh +#1727800562 +yay -S surf +#1727800615 +surf luxagraf.net +#1727800934 +sr google foo +#1727800941 +surfraw google foo +#1727800947 +pac -S surfraw +#1727800955 +sr google foo +#1727800994 +sr -elvi +#1727801028 +sr amazon jtest +#1727801099 +v ~/.config/surfraw/conf +#1727801106 +mkdir ~/.config/surfraw/ +#1727801108 +v ~/.config/surfraw/conf +#1727801130 +sr google foo +#1727804103 +cd ../08_parents-madeline-island/ +#1727804114 +cd ../08_porcupine-mountains/ +#1727804373 +cd ~/sites/luxagraf.net/ && virt && ./manage.py runserver 127.0.0.1:8000 +#1727804379 +cd +#1727804384 +deactivate +#1727804386 +cd sites/pd/ +#1727804388 +virt +#1727804394 +sudo systemctl start postgresql.service +#1727804373 +cd ~/sites/luxagraf.net/ && v +#1727804407 +cd ../pd/ +#1727804600 +deactivate +#1727804602 +virt +#1727805816 +calc 850-680 +#1727808552 +ranger +#1727809651 +~/./bin/annex-photo-add-exif.sh +#1727809654 +~/./bin/annex-photo-add-exif.sh +#1727810259 +sudo su -- postgres +#1727810363 +cd sites/pd/ +#1727810364 +virt +#1727810373 +./manage.py shell_plus +#1727810382 +./manage.py runserver +#1727810394 +sudo su -- postgres +#1727810418 +./manage.py runserver +#1727810430 +./manage.py migrate +#1727810440 +./manage.py createsuperuser +#1727810477 +./manage.py runserver 127.0.0.1:8000 +#1727810534 +from django.contrib.sites.models import Site +#1727810542 +./manage.py shell_plus +#1727804617 +./manage.py shell_plus +#1727810603 +./manage.py runserver 127.0.0.1:8000 +#1727811373 +./manage.py makemigrations deals +#1727811379 +./manage.py migrate +#1727811382 +./manage.py runserver 127.0.0.1:8000 +#1727811454 +./manage.py makemigrations deals +#1727811457 +./manage.py migrate +#1727816683 +192-147 +#1727816687 +calc 192-147 +#1727818959 +cd wired/ +#1727818961 +python +#1727819469 +calc 147+45 +#1727805477 +cd ~/wired/ && v wired.txt +#1727819627 +pandoc -o test.html ~/wired/pdblurbsrev.txt +#1727819639 +xdg-open test.html +#1727819662 +vivaldi-snapshot test.html +#1727819679 +pandoc -o test.html ~/wired/pdblurbs.txt +#1727819681 +xdg-open test.html +#1727819693 +vivaldi-snapshot test.html +#1727811460 +./manage.py runserver 127.0.0.1:8000 +#1727804409 +v +#1727804666 +ranger +#1727826853 +cd ../08_sailing-camp/ +#1727826866 +cd ../08_washburn/ +#1727826920 +~/./bin/annex-photo-add-exif.sh +#1727826917 +~/./bin/annex-photo-add-exif.sh +#1727827121 +cd ../09_devils_tower/ +#1727827136 +cd ../09_drive-to-dakotas/ +#1727827168 +/usr/bin/w3m "https://ecosophia.dreamwidth.org/298341.html" +#1727827155 +newsboat +#1727827471 +~/./bin/annex-photo-add-exif.sh +#1727827473 +~/./bin/annex-photo-add-exif.sh +#1727827670 +cd ../09_driving-to-colorado/ +#1727827677 +cd ../09_theodore-roosevelt/ +#1727828086 +~/./bin/annex-photo-add-exif.sh +#1727828084 +~/./bin/annex-photo-add-exif.sh +#1727827406 +/usr/bin/w3m "https://shifter.media/creative-japan-notes-episode-five/" +#1727828352 +cd ../09_washburn/ +#1727828359 +cd ../10_bents-old-fort/ +#1727830371 +ls -tra +#1727830398 +cd ../10_halloween-plano/ +#1727742911 +w3m duckduckgo.com +#1727831580 +v inbox/new.txt +#1727831592 +ranter +#1727831645 +tre -l 1 notes/ +#1727831650 +tre -ld 1 notes/ +#1727831655 +tre -d -l 1 notes/ +#1727831679 +3 +#1727831688 +tre -e -d -l 1 notes/ +#1727831696 +tre -d -l 1 notes/ +#1727831702 +1 +#1727831808 +cd ../09_washburn/ +#1727831818 +cd ../10_halloween-plano/ +#1727832002 +v .w3m/bookmark.html +#1727832476 +cd ~/sites/luxagraf.net/ && virt && ./manage.py runserver 127.0.0.1:8000 +#1727832485 +deactivate +#1727832488 +cd ../pd/ +#1727832496 +virt && ./manage.py runserver 127.0.0.1:8000 +#1727832476 +cd ~/sites/luxagraf.net/ && v +#1727874745 +pandoc -i wired/pdblurbs.txt | w3m -T text/html +#1727874762 +pandoc -i wired/pdblurbsrev.txt | w3m -T text/html +#1727874784 +v .aliases +#1727874966 +cd notes/ +#1727874970 +fshow +#1727875011 +gjs +#1727875012 +gs +#1727875015 +git push +#1727875022 +v +#1727875036 +gshow +#1727875043 +source ~/.bashrc +#1727875045 +gshow +#1727875071 +tre +#1727875077 +493 +#1727875093 +tre -e +#1727875104 +tre . +#1727875108 +522 +#1727831595 +ranger +#1727875125 +cd wired/ +#1727875125 +gs +#1727875130 +ga wired +#1727875136 +ga wired.txt +#1727875145 +gc -m"added latest changes" +#1727875153 +git push +#1727832054 +w3m live.luxagraf.net/gtd +#1727743241 +v .w3m/keymap +#1727875932 +w3m live.luxagraf.net/ +#1727831710 +ranger notes/tech/ +#1727881246 +tre +#1727881273 +cd ../10_lamar/ +#1727881266 +~/./bin/annex-photo-add-exif.sh +#1727881407 +cd ../10_lamar-engine/ +#1727881397 +~/./bin/annex-photo-add-exif.sh +#1727881692 +cd ../10_lamar-rodeo/ +#1727881700 +yay -S foot +#1727881715 +lsix +#1727881723 +pac -S sixel +#1727881682 +~/./bin/annex-photo-add-exif.sh +#1727881726 +pac -Ss sixel +#1727881736 +pac -Ss lsix +#1727881739 +pac -S lsix +#1727881746 +lsix +#1727881762 +foot & +#1727881772 +pac -Rns foot +#1727881929 +pac -S alacritty +#1727881942 +ll +#1727881988 +v $XDG_CONFIG_HOME/alacritty/alacritty.toml +#1727881994 +v $XDG_CONFIG_HOME/alacritty.toml +#1727882009 +$HOME/.alacritty.toml +#1727882015 +ll .dotfiles/ +#1727882019 +la .dotfiles/ +#1727882025 +@less +#1727882039 +la .dotfiles/.config/ +#1727882053 +mkdir .dotfiles/.config/alacritty +#1727882066 +v .dotfiles/.config/alacritty/alacritty.toml +#1727882377 +cp inbox/solarized_dark.toml .dotfiles/.config/alacritty/ +#1727882383 +cd .config/ +#1727882393 +ln -s ~/.dotfiles/.config/alacritty . +#1727882395 +cd +#1727882402 +ll +#1727882429 +v .config/alacritty/alacritty.toml +#1727882457 +v $HOME/.config/alacritty/alacritty.toml +#1727882928 +ll +#1727882931 +ranger +#1727882951 +cd ../11_galveston/ +#1727882939 +~/./bin/annex-photo-add-exif.sh +#1727885578 +v +#1727886340 +ll +#1727886345 +cd .dotfiles/ +#1727886346 +gs +#1727886416 +cd +#1727886430 +cd photos/2022/ +#1727886450 +la +#1727886443 +cd ../11_goose-island-sp/ +#1727886483 +~/./bin/annex-photo-add-exif.sh +#1727886423 +~/./bin/annex-photo-add-exif.sh +#1727886920 +w3m https://www.minus33.com/collections/wool-crew-socks +#1727886978 +cd ../11_hasselblad-tests/ +#1727886987 +cd ../11_mustang-island/ +#1727887026 +~/./bin/annex-photo-add-exif.sh +#1727887159 +cd ../12_big-lagoon/ +#1727887149 +~/./bin/annex-photo-add-exif.sh +#1727887705 +w3m +#1727887711 +w3m live.luxagraf.net/ +#1727887770 +w3m -B +#1727888212 +w3mlastsession +#1727888243 +cd ../12_grayton-birthday/ +#1727888235 +~/./bin/annex-photo-add-exif.sh +#1727888249 +newsboat +#1727888331 +cd ../12_new-orleans +#1727888272 +~/./bin/annex-photo-add-exif.sh +#1727888371 +~/./bin/annex-photo-add-exif.sh +#1727888426 +cd ../12_new-orleans-birthday/ +#1727888508 +cd ../12_sea-rim/ +#1727888549 +~/./bin/annex-photo-add-exif.sh +#1727888499 +~/./bin/annex-photo-add-exif.sh +#1727888588 +cd ../12_st-george-christmas/ +#1727888618 +~/./bin/annex-photo-add-exif.sh +#1727889213 +.. +#1727889249 +ll +#1727889342 +gs|less +#1727889460 +gc -m"added 2023 images with metadata" +#1727889587 +gs +#1727889701 +git annex add . +#1727889814 +gs +#1727889897 +gc -m"added 2024 images to darktable which caused the metadata to update I guess" +#1727890273 +gs +#1727890399 +gshow +#1727890407 +cd photos/ +#1727890431 +gs +#1727890483 +gs|less +#1727890636 +git annex add . +#1727890775 +gc -m"added 2024 images to darktable which caused the metadata to update I guess" +#1727890886 +gs +#1727890895 +cd +#1727890896 +ll +#1727891067 +rsync -avvz -K ~/pictures/2021 ~/photos/ +#1727891472 +cd photos/ +#1727891516 +v .gitignore +#1727891992 +gs +#1727892064 +v .gitignore +#1727892073 +gs +#1727892329 +gs +#1727892835 +git annex add . +#1727892906 +gc -m"added 2022 images to darktable" +#1727892931 +gs +#1727892938 +v .gitignore +#1727892941 +gs +#1727892953 +git annex add . +#1727893348 +cd 2021/00_phone/ +#1727893534 +~/./bin/annex-photo-add-exif.sh +#1727896075 +cd ../01_hiking-creek-woods/ +#1727896078 +~/./bin/annex-photo-add-exif.sh +#1727896105 +../02_around-house/ +#1727896123 +cd photos/ +#1727896124 +ll +#1727896126 +gs +#1727896106 +~/./bin/annex-photo-add-exif.sh +#1727896205 +cd ../02_creek/ +#1727896206 +~/./bin/annex-photo-add-exif.sh +#1727896264 +cd ../02_woods-creek/ +#1727896267 +~/./bin/annex-photo-add-exif.sh +#1727896310 +cd ../03_around-the-house/ +#1727896311 +~/./bin/annex-photo-add-exif.sh +#1727896377 +cd ../03_birds/ +#1727896379 +~/./bin/annex-photo-add-exif.sh +#1727896547 +cd ../03_nikon-z7-test/ +#1727896548 +~/./bin/annex-photo-add-exif.sh +#1727896619 +cd ../03_oak-grove/ +#1727896621 +~/./bin/annex-photo-add-exif.sh +#1727896649 +cd ../03_spring-flowers/ +#1727896651 +~/./bin/annex-photo-add-exif.sh +#1727896824 +cd ../04_around-house/ +#1727896825 +~/./bin/annex-photo-add-exif.sh +#1727896848 +cd ../04_drone/ +#1727896849 +~/./bin/annex-photo-add-exif.sh +#1727896864 +cd ../05_bus/ +#1727896888 +cd ../05_parents/ +#1727896890 +~/./bin/annex-photo-add-exif.sh +#1727897319 +cd ../07_watson-mill/ +#1727897321 +~/./bin/annex-photo-add-exif.sh +#1727897350 +df -h +#1727897394 +~/./bin/annex-photo-add-exif.sh +#1727897330 +ranger +#1727897440 +cd ../09_summer-2021/ +#1727897442 +~/./bin/annex-photo-add-exif.sh +#1727897887 +cd ../10_halloween/ +#1727897888 +~/./bin/annex-photo-add-exif.sh +#1727897921 +cd ../10_zoo/ +#1727897923 +~/./bin/annex-photo-add-exif.sh +#1727898021 +cd ../11_bus-interior/ +#1727898022 +~/./bin/annex-photo-add-exif.sh +#1727898041 +cd ../11_mavic3-test-shots/ +#1727898043 +~/./bin/annex-photo-add-exif.sh +#1727898068 +cd ../11_mike-and-cassidys/ +#1727898069 +~/./bin/annex-photo-add-exif.sh +#1727898167 +cd ../11_night/ +#1727898168 +~/./bin/annex-photo-add-exif.sh +#1727898178 +cd ../11_riding-leaves/ +#1727898179 +~/./bin/annex-photo-add-exif.sh +#1727898197 +cd ../11_sony-a7iv-test/ +#1727898199 +~/./bin/annex-photo-add-exif.sh +#1727898212 +cd ../12_7th-birthday/ +#1727898213 +~/./bin/annex-photo-add-exif.sh +#1727898258 +cd ../12_charleston/ +#1727898259 +~/./bin/annex-photo-add-exif.sh +#1727898278 +cd ../12_christmas/ +#1727898278 +~/./bin/annex-photo-add-exif.sh +#1727898321 +cd ../12_charleston/ +#1727898322 +~/./bin/annex-photo-add-exif.sh +#1727898343 +cd ../12_edisto-beach/ +#1727898345 +~/./bin/annex-photo-add-exif.sh +#1727898400 +cd ../12_hunting_island/ +#1727898418 +cd photos/2021/12_last-day-mcphail/ +#1727898420 +~/./bin/annex-photo-add-exif.sh +#1727898401 +~/./bin/annex-photo-add-exif.sh +#1727898437 +cd ../12_leica-M11-test/ +#1727898438 +~/./bin/annex-photo-add-exif.sh +#1727898486 +../ +#1727898490 +gs +#1727898503 +@less +#1727898521 +v +#1727898554 +ranger 2021/00_phone/ +#1727898582 +gc -m"added 2021 photos" +#1727898591 +gs +#1727898594 +ll +#1727898600 +rsync -avvz -K ~/pictures/2020 ~/photos/ +#1727904748 +gs +#1727905038 +git annex add . +#1727917560 +ll +#1727917588 +gs +#1727917598 +cd 2020/00_phone/ +#1727917646 +ll +#1727917675 +ranger +#1727960262 +cd photos/2020/ +#1727960264 +ll +#1727960377 +chmod 755 -R 06_aerial-mcphail/ +#1727960379 +ll +#1727960389 +chmod 755 -R 07_fuji-xt4-test/ +#1727960391 +ll +#1727960588 +v +#1727960637 +cd notes/ +#1727917604 +~/./bin/annex-photo-add-exif.sh +#1727961048 +cd ../01_fort-yargo/ +#1727961050 +~/./bin/annex-photo-add-exif.sh +#1727961115 +v +#1727961188 +v .tags.global +#1727961200 +v +#1727961209 +v +#1727961425 +cd ../01_las-vegas/ +#1727961428 +~/./bin/annex-photo-add-exif.sh +#1727961445 +cd ../01_newport/ +#1727961447 +~/./bin/annex-photo-add-exif.sh +#1727961525 +cd ../02_drive-to-edisto/ +#1727961526 +~/./bin/annex-photo-add-exif.sh +#1727980569 +v +#1727983820 +cd sites/pd/ +#1727983824 +v homepd.txt +#1727985107 +ll +#1727985116 +mkdir 2024blurbs +#1727985121 +ranger +#1727990605 +cd 2024blurbs/ +#1727990628 +virt +#1727990633 +.. +#1727990634 +virt +#1727990834 +cd sites/pd/ +#1727990836 +ll +#1727990838 +ll 2024blurbs/ +#1727991193 +v 2024blurbs/ +#1727960639 +ranger +#1728067731 +cd ../02_drive-to-edisto/ +#1728067735 +cd photos/2020 +#1728067737 +cd ../02_drive-to-edisto/ +#1728067746 +cd 02_fort-yargo/ +#1728067763 +cd photos/2020/ +#1728067750 +~/./bin/annex-photo-add-exif.sh +#1728067770 +cd 02_hiking-watson-mill/ +#1728067786 +cd ../02_snow-day/ +#1727991340 +ranger +#1727990645 +./manage.py shell_plus +#1728067777 +~/./bin/annex-photo-add-exif.sh +#1728067787 +~/./bin/annex-photo-add-exif.sh +#1727976779 +v +#1728067879 +cd ../02_watson-mill-nikond780/ +#1728067887 +cd ../03_edisto +#1728067881 +~/./bin/annex-photo-add-exif.sh +#1728067889 +~/./bin/annex-photo-add-exif.sh +#1728067935 +cd ../03_edisto-fuji/ +#1728067944 +cd ../03_edisto-nikon/ +#1728067936 +~/./bin/annex-photo-add-exif.sh +#1728067945 +~/./bin/annex-photo-add-exif.sh +#1728068049 +/usr/bin/w3m "https://mcrawford.substack.com/p/individualism-creates-mass-men-not" +#1728067913 +newsboat +#1728068138 +v .w3m/keymap +#1728068611 +cd ../03_hunting-island/ +#1728068623 +cd ../04_double-helix-school/ +#1728068613 +~/./bin/annex-photo-add-exif.sh +#1728068666 +cd ../04_winterville/ +#1728068624 +~/./bin/annex-photo-add-exif.sh +#1728068675 +cd ../05_house-buy/ +#1728068668 +~/./bin/annex-photo-add-exif.sh +#1728068677 +~/./bin/annex-photo-add-exif.sh +#1728068693 +cd ../06_aerial-mcphail/ +#1728068701 +cd ../06_clover-curdie/ +#1728068694 +~/./bin/annex-photo-add-exif.sh +#1728068704 +~/./bin/annex-photo-add-exif.sh +#1728068739 +cd ../06_fuji-xt4-test/ +#1728068753 +cd ../06_mcphail-yard-misc/ +#1728068740 +~/./bin/annex-photo-add-exif.sh +#1728068761 +cd ../07_8th-birthday/ +#1728068754 +~/./bin/annex-photo-add-exif.sh +#1728068806 +cd ../07_fuji-xt4-test/ +#1728068807 +~/./bin/annex-photo-add-exif.sh +#1728068825 +cd ../07_misc-mcphail/ +#1728068826 +~/./bin/annex-photo-add-exif.sh +#1728068763 +~/./bin/annex-photo-add-exif.sh +#1728068948 +cd ../07_water-slide/ +#1728068958 +cd ../08_a7r4-test/ +#1728068965 +jrnl +#1728068959 +~/./bin/annex-photo-add-exif.sh +#1728068950 +~/./bin/annex-photo-add-exif.sh +#1728069060 +ranger bin/ +#1728069084 +chmod +x bin/jrnl +#1728069086 +jrnl +#1728069094 +v .aliases +#1728069104 +v .bashrc +#1728069137 +v ~/.jrnl2.rc +#1728069159 +jrnl +#1728069168 +touch notes/log.txt +#1728069170 +jrnl +#1728069352 +jrnl -ls +#1728069381 +jrnl -j +#1728069384 +jrnl -j default +#1728069393 +v notes/log.txt +#1728069407 +jrnl -n 3 +#1728069415 +v notes/log.txt +#1728069544 +cd ../08_misc-mcphail/ +#1728069554 +cd ../08_watermelon-yard/ +#1728069546 +~/./bin/annex-photo-add-exif.sh +#1728069556 +~/./bin/annex-photo-add-exif.sh +#1728069618 +cd ../09_around-house/ +#1728069619 +~/./bin/annex-photo-add-exif.sh +#1728069638 +cd ../09_misc-mcphail/ +#1728069647 +cd ../09_pecans/ +#1728069648 +~/./bin/annex-photo-add-exif.sh +#1728069640 +~/./bin/annex-photo-add-exif.sh +#1728069682 +cd ../09_riding-bikes/ +#1728069683 +~/./bin/annex-photo-add-exif.sh +#1728069745 +cd ../10_backpacking-shining-rock/ +#1728069763 +cd ../10_halloween/ +#1728069765 +~/./bin/annex-photo-add-exif.sh +#1728069747 +~/./bin/annex-photo-add-exif.sh +#1728069850 +cd ../10_self-portraits/ +#1728069867 +cd ../11_bike-riding/ +#1728069854 +~/./bin/annex-photo-add-exif.sh +#1728069869 +~/./bin/annex-photo-add-exif.sh +#1728069892 +cd ../11_elliott-riding-bike/ +#1728069900 +cd ../11_forest-flowers/ +#1728069902 +~/./bin/annex-photo-add-exif.sh +#1728069928 +cd ../11_more-bike-riding/ +#1728069930 +~/./bin/annex-photo-add-exif.sh +#1728069969 +cd ../12_abbeville/ +#1728069894 +~/./bin/annex-photo-add-exif.sh +#1728069970 +~/./bin/annex-photo-add-exif.sh +#1728070018 +cd ../12_christmas +#1728070026 +cd ../12_christmas-tree/ +#1728070027 +~/./bin/annex-photo-add-exif.sh +#1728070054 +cd ../12_elliott-birthday/ +#1728070020 +~/./bin/annex-photo-add-exif.sh +#1728070091 +cd ../12_frost-bikes/ +#1728070092 +~/./bin/annex-photo-add-exif.sh +#1728070132 +cd ../12_fuji-test/ +#1728070055 +~/./bin/annex-photo-add-exif.sh +#1728070145 +cd ../12_leica-q2/ +#1728070138 +~/./bin/annex-photo-add-exif.sh +#1728070152 +ll +#1728070155 +ranger +#1728070165 +cd ../12_playing-clearing/ +#1728070166 +ranger +#1728070147 +~/./bin/annex-photo-add-exif.sh +#1728070225 +.. +#1728070230 +gs +#1728070171 +~/./bin/annex-photo-add-exif.sh +#1728070246 +git annex add . +#1728070249 +gs +#1728070263 +gc -m"added 2020 photos" +#1728070279 +git annex info +#1728070315 +cd +#1728072453 +fdisk -l +#1728072487 +sudo mount -o rw /dev/sda3 /mnt/card +#1728072495 +ranger /mnt/card/ +#1728072539 +sudo umount /mnt/card +#1728072555 +mutt +#1728073128 +ll +#1728074795 +mutt +#1728075773 +newsboat +#1728075917 +cd notes/ +#1728075921 +tre -l 1 +#1728075925 +e125 +#1728075984 +jrnl -n 3 +#1728076027 +jrnl -n 1 --edit +#1728075931 +ranger +#1728076058 +gs +#1728076061 +ga independent-mind-authority.txt +#1728076073 +ga log.txt +#1728076097 +gc -m"added a quote from crawford and a log file to record what I've done each day" +#1728076101 +git push +#1728076109 +cd ~/documents/ +#1728076112 +gs +#1728076120 +cd doc +#1728076124 +cd n +#1728076128 +cd l +#1728076131 +cd +#1728076137 +v .aliases +#1728076163 +v .bashrc +#1728076229 +source .bashrc +#1728076232 +,n +#1728076252 +ranger +#1728076270 +cd notes/ +#1728076271 +ll +#1728076273 +@less +#1728076281 +la |less +#1728076287 +ranger +#1728076304 +gs +#1728076315 +la|less +#1728076321 +cd +#1728076327 +cd l +#1728076330 +cd n +#1728076332 +cd d +#1728076337 +cdp +#1728076339 +cd p +#1728076352 +cd +#1728076358 +v .bashrc +#1728076374 +source .bashrc +#1728076377 +cd p +#1728234490 +jr +#1728234491 +j +#1728234501 +j log +#1728234511 +j log --edit +#1728234599 +j worked on the bus, framed the closet, got measurements for the window blanks which are not the holdup. took the kids to a party at Chris's house. Everyone had fun and Elliott didn't OD on sugar. +#1728234601 +j log --edit +#1728234606 +j +#1728234613 +j log +#1728234633 +j log -n 1 edit +#1728234645 +j -n 1 --edit +#1728234655 +j log -n 1 --edit +#1728234660 +v .jrnl2.rc +#1728234669 +jrnl +#1728234710 +j -n 1 --edit +#1728234715 +j -n 1 --delete +#1728234728 +jrnl --delete +#1728234742 +jrnl --edit +#1728234771 +v notes/log.txt +#1728234789 +jrnl --edit +#1728234813 +j -n 1 --edit +#1728242037 +jrnl "cleaned up and organized the bus, mocked up the bathroom. added antifreeze. played phase 10 with the kids, made chicken stew for dinner" +#1728242040 +j -n 1 --edit +#1728242071 +cd notes/ +#1728242072 +gs +#1728242119 +/usr/bin/w3m "https://shifter.media/creative-the-line-that-says-it-all/" +#1728242219 +v .w3m/keymap +#1728242464 +/usr/bin/w3m "https://shifter.media/read-a-wing-and-a-prayer/" +#1728242512 +yt https://www.youtube.com/watch?v=GU6V0Vx4W54 +#1728242075 +newsboat +#1728242522 +yt GU6V0Vx4W54 +#1728242546 +ll +#1728242549 +ll media/ +#1728242552 +ranger +#1728242980 +ll +#1728242994 +ranger +#1728243024 +ll +#1728246646 +ranger +#1728246697 +f stew notes +#1728246817 +ranger notes/ +#1728246820 +cd notes/ +#1728246833 +git mv low-country-stewed-chicken.txt recipes/ +#1728246835 +gs +#1728246844 +ga . +#1728246866 +gc -m"moved stewed chicken to recipes, added log" +#1728246876 +git push +#1728246882 +git pull +#1728246909 +git log +#1728246946 +git log --name-status -2 +#1728246959 +ranger notes\ on\ drive\ to\ sea\ rim\ oil\ refinery.txt +#1728246962 +ranger +#1728246982 +f unix . +#1728246993 +ranger notes\ on\ drive\ to\ sea\ rim\ oil\ refinery.txt +#1728246995 +ranger +#1728247117 +cd notes/ +#1728247134 +git diff --name-only 6d06003fcd9e282f54f3444cde6c541dbebe996e 3dd31ccc01119427db6f959a7245ea41342c832f +#1728247211 +git diff --name-only 2f7b44bbfaefa396c2c427b78c6321c58e6b23e7 3dd31ccc01119427db6f959a7245ea41342c832f +#1728247079 +git log +#1728247234 +git rm saved-articles/an\ introduction\ to\ unix.txt +#1728247241 +git rm saved-articles/central\ asia\ salon\ literary\ guide\ to\ the\ world.txt +#1728247251 +git rm saved-articles/decline\ in\ style\ zacalo\ public\ square.txt +#1728247270 +git rm saved-articles/destination\ new\ guinea\ salon\ literary\ guide\ to\ the\ world.txt +#1728247273 +gs +#1728247278 +ga . +#1728247279 +gs +#1728247289 +git rm saved-articles/beautiful\ islands\ of\ the\ south\ pacific.txt +#1728247299 +git rm saved-articles/ocean\ wanderers\ the\ ultimate\ resource\ for\ pelagic\ birding\ enthusiasts.txt +#1728247312 +git rm saved-articles/thoreau\ 2.0\ xoxo\ conference\ talk.txt +#1728247324 +git rm saved-articles/ocean\ wanderers\ the\ ultimate\ resource\ for\ pelagic\ birding\ enthusiasts.txt +#1728247346 +gs +#1728247368 +git rm saved-articles/the\ hidden\ wonders\ of\ the\ united\ states\ you\ need\ to\ visit.txt +#1728247376 +git saved-articles/why\ ad\ blocking\ is\ not\ a\ moral\ dilemma.txt +#1728247386 +git rm saved-articles/why\ ad\ blocking\ is\ not\ a\ moral\ dilemma.txt +#1728247395 +git rm tech/debian\ 7\ digital\ ocean\ running\ slowly.txt +#1728247406 +git rm tech/install\ tinytinyrss\ debian\ 10.txt +#1728247418 +git rm tech/set\ up\ certbot\ nginx\ ubuntu.txt +#1728247432 +git rm tech/set\ up\ debian\ droplet\ python\ 3\ +\ gunicorn\ +\ supervisor.txt +#1728247483 +git rm tech/set\ up\ geodjango\ on\ debian\ 7\ digital\ ocean.txt +#1728247493 +git rm tech/set\ up\ gitea\ on\ ubuntu\ 18.04.txt +#1728247498 +git rm tech/set\ up\ mysql\ php.txt +#1728247500 +gs +#1728247520 +gc -m"removed files that got added back somehow" +#1728247536 +git push +#1728246253 +mutt +#1728247600 +ll +#1728247603 +cd m +#1728247606 +cd media/ +#1728247607 +gs +#1728247635 +ssh lxf +#1728247731 +mv media/ mediaold +#1728247742 +git clone ssh://lxf/~/annex/media.git +#1728247747 +cd media +#1728247762 +rsync -avvz -K ~/mediaold/ . +#1728247819 +v .gitignore +#1728247830 +gs +#1728247846 +ranger +#1728247975 +git annex add +#1728248040 +git push origin master git-annex +#1728248047 +gs +#1728248065 +git annex sync +#1728248936 +cd media +#1728248939 +git annex info +#1728249949 +ll +#1728249960 +cd notes/recipes/ +#1728248082 +git annex sync --content +#1728249962 +v low-country-stewed-chicken.txt +#1728251118 +gs +#1728251120 +cd +#1728251647 +gs +#1728251653 +ranger +#1728261710 +calc 360/17.6 +#1728261717 +calc 17.6/360 +#1728261728 +calc 6.84/90 +#1728261958 +calc /364 +#1728261961 +calc 3/64 +#1728261977 +calc 64/3 +#1728262008 +calc 28/1 +#1728262239 +mutt +#1728305352 +cd writing/lbh/ && v lbh.txt +#1728305352 +cd ~/writing/conde/wired/ && v +#1728325045 +wget https://i.redd.it/vai02xqa6phd1.jpeg +#1728325049 +ranger +#1728325332 +cd notes/ +#1728325337 +mkdir images +#1728325339 +gs +#1728325341 +ga images/ +#1728325344 +gs +#1728325353 +touch images/temp.txt +#1728325355 +ga images/ +#1728325356 +gs +#1728325364 +gc -m"added image folder" +#1728325375 +git push +#1728325470 +git pull +#1728305354 +mutt +#1728325844 +ranger +#1728325896 +gs +#1728325899 +git pull +#1728325925 +gc -m"renamed note" +#1728325928 +ga . +#1728325930 +gc -m"renamed note" +#1728325933 +git push +#1728325957 +v surly\ ecr\ bikepacking\ setup.txt +#1728328388 +ga . +#1728328398 +gc -m"added notes to surly note" +#1728328409 +git push +#1728328448 +ll images/ +#1728327838 +v +#1728305352 +ranger +#1728329793 +v .w3m/keymap +#1728329723 +/usr/bin/w3m "https://www.bumfuzzle.com/lizard-island/" +#1728330006 +/usr/bin/w3m "https://modelairplanemaker.com/2024/10/06/a-return-to-the-mojo-podcast/" +#1728305352 +newsboat +#1728305352 +mpd && music +#1728337278 +cd ~/wired/ && v wired.txt +#1728337281 +v +#1728341477 +cd ~/sites/luxagraf.net/ && v +#1728341485 +cd ../pd/ +#1728341477 +cd ~/sites/luxagraf.net/ && virt && ./manage.py runserver 127.0.0.1:8000 +#1728341494 +virt +#1728341531 +ranger +#1728342425 +calc 99-56 +#1728349603 +calc 236+37 +#1728373381 +calc 44*.6 +#1728341498 +./manage.py shell_plus +#1728420888 +uname -a +#1728420917 +lscpu | grep "Model name" +#1728412861 +mutt +#1728474743 +cd wired/ +#1728474745 +git pull +#1728474753 +git diff +#1728474766 +v +#1728474784 +gs +#1728474787 +git diff +#1728474790 +git pull +#1728479299 +calc 159*.8 +#1728479497 +calc 219*.8 +#1728479519 +calc 299*.8 +#1728479786 +calc 495*.8 +#1728480046 +calc 1830*.8 +#1728480060 +1830-1464 +#1728480063 +calc 1830-1464 +#1728480495 +calc 1198-1018 +#1728500474 +cd pictures/ +#1728500477 +sizes +#1728500515 +cd +#1728500517 +sizes +#1728500524 +sizes . +#1728500541 +cd pictures/ +#1728500543 +sizes +#1728500562 +cd +#1728500564 +sizes +#1728500574 +v .aliases +#1728500598 +du --summarize +#1728500623 +du --summarize photos/ +#1728500635 +du --summarize --human-readable photos/ +#1728500642 +du --summarize --human-readable pictures/ +#1728502150 +cd ~/lux/ && v +#1728502153 +cd +#1728502220 +mutt +#1728502647 +ranger +#1728474797 +v wired.txt +#1728505152 +ll +#1728505154 +ranger +#1728505188 +cd photos/ +#1728505190 +gs +#1728505197 +cd +#1728505199 +ll +#1728505204 +fdisk -l +#1728505227 +sudo mount -o rw /dev/sda2 /mnt/card +#1728505273 +sudo mount -o rw,users,uid=1000,dmask=007,fmask=117 /dev/sda2 /mnt/card # general syntax +#1728505277 +sudo umount /mnt/card +#1728505280 +sudo mount -o rw,users,uid=1000,dmask=007,fmask=117 /dev/sda2 /mnt/card # general syntax +#1728505287 +cd /mnt/card/ +#1728505290 +git annex sync +#1728505294 +cd photos/ +#1728505490 +git annex sync +#1728505559 +ll +#1728505561 +gs +#1728505566 +cd +#1728505574 +sizes /mnt/card/ +#1728505577 +sizes /mnt/card +#1728505581 +cd /mnt/card/ +#1728505582 +sizes +#1728505599 +ll +#1728505614 +cd photos/ +#1728505615 +gs +#1728505621 +.. +#1728505629 +mv photos photosold +#1728505636 +ll +#1728505656 +cd +#1728505661 +sudo umount /mnt/card +#1728505684 +fdisk -l +#1728505743 +sudo mount -o rw /dev/sda1 /mnt/card +#1728505748 +cd /mnt/card/ +#1728505749 +ll +#1728505751 +cd photos/ +#1728505754 +gs +#1728505778 +ll +#1728505758 +git annex sync +#1728502159 +w3m https://vitalyparnas.com/posts/2019/07/w3m-redux/ +#1728506963 +fdisk -l +#1728506109 +ranger inbox/ +#1728507397 +yay -S rdrview-git +#1728507457 +v .w3m/siteconf +#1728507477 +cd .dotfiles/ +#1728507478 +gs +#1728507486 +git diff .aliases +#1728507492 +charge +#1728507500 +ga .aliases +#1728507508 +git diff .bashrc +#1728507519 +fshow +#1728507523 +gshow +#1728507533 +ga .bashrc +#1728507536 +gs +#1728507546 +ga .w3m/config +#1728507550 +ga .w3m/keymap +#1728507551 +gs +#1728507571 +ga .w3m/siteconf +#1728507576 +ga .w3m/siteconf -f diff --git a/.bashrc b/.bashrc index a9d47d9..576c9e9 100644 --- a/.bashrc +++ b/.bashrc @@ -70,10 +70,10 @@ if type rg &> /dev/null; then fi # Don't use ~ to define your home here, it won't work. export wir="$HOME/wired" -export lux="$HOME/lux" +export l="$HOME/lux" export n="$HOME/notes" -export doc="$HOME/documents" -export p="$HOME/pictures" +export d="$HOME/documents" +export p="$HOME/photos" CDPATH=.:~/notes:~/sites:~/documents:~/wired:~/pictures @@ -605,6 +605,9 @@ fi #export WINEPREFIX=$HOME/.config/wine/ #export WINEARCH=win32 +preview(){ + pandoc -i $1 | w3m -T text/html +} #PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH" @@ -615,8 +618,8 @@ fd() { cd "$dir" } -# fshow - git commit browser -fshow() { +# gshow - git commit browser +gshow() { git log --graph --color=always \ --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" | fzf --ansi --no-sort --reverse --tiebreak=index --bind=ctrl-s:toggle-sort \ diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..08bb339 --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,49 @@ +import = [ +"~/.config/alacritty/keybindings.toml", +] + +[env] +TERM = "xterm-256color" + +[font] +size = 7.75 + +[window] +decorations = "None" +opacity = 1.0 +blur = true + +[keyboard] +bindings = [ + { key = "V", mods = "Super | Control", action = "Paste" }, + { key = "C", mods = "Super | Control", action = "Copy" }, +] + + + +# Colors (Solarized Dark) +[colors.primary] +background = '#002b36' +foreground = '#839496' + +# Normal colors +[colors.normal] +black = '#073642' +red = '#dc322f' +green = '#859900' +yellow = '#b58900' +blue = '#268bd2' +magenta = '#d33682' +cyan = '#2aa198' +white = '#eee8d5' + +# Bright colors +[colors.bright] +black = '#002b36' +red = '#cb4b16' +green = '#586e75' +yellow = '#657b83' +blue = '#839496' +magenta = '#6c71c4' +cyan = '#93a1a1' +white = '#fdf6e3' diff --git a/.config/alacritty/solarized_dark.toml b/.config/alacritty/solarized_dark.toml new file mode 100644 index 0000000..dbcce2b --- /dev/null +++ b/.config/alacritty/solarized_dark.toml @@ -0,0 +1,28 @@ +# Colors (Solarized Dark) + +# Default colors +[colors.primary] +background = '#002b36' +foreground = '#839496' + +# Normal colors +[colors.normal] +black = '#073642' +red = '#dc322f' +green = '#859900' +yellow = '#b58900' +blue = '#268bd2' +magenta = '#d33682' +cyan = '#2aa198' +white = '#eee8d5' + +# Bright colors +[colors.bright] +black = '#002b36' +red = '#cb4b16' +green = '#586e75' +yellow = '#657b83' +blue = '#839496' +magenta = '#6c71c4' +cyan = '#93a1a1' +white = '#fdf6e3' diff --git a/.vimrc b/.vimrc index f378848..ac4da84 100644 --- a/.vimrc +++ b/.vimrc @@ -59,6 +59,7 @@ autocmd BufLeave,FocusLost * silent! wall let g:auto_save = 1 let g:auto_save_in_insert_mode = 0 "}}} + " Abbreviations {{{ " easier markdown links: @@ -113,6 +114,20 @@ noremap l inoremap =strftime("%Y-%m-%d") +nmap ,t yiw:call AddTag('"') +vmap ,t y:call AddTag('"') + +function! AddTag(tagname) + let tagname = input('Tag name: ', a:tagname, 'tag') + let tagfile = expand('%:p') + let tagaddress = input('Address: ', '/\<' . a:tagname . '\>/') + if (tagname == '' || tagaddress == '') + return + endif + let cmd = '!echo -e "' . tagname . '\t' . tagfile . '\t' . tagaddress . '" >> ' . $HOME . '/.tags.global' + execute cmd +endfunction + " Convert curly quotes to straight. {{{ " Any argument causes substitute to confirm changes. function! ToStraight(line1, line2, args) diff --git a/.w3m/RestoreSession.txt b/.w3m/RestoreSession.txt index b2c12ad..8593566 100644 --- a/.w3m/RestoreSession.txt +++ b/.w3m/RestoreSession.txt @@ -1,30 +1,30 @@ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ -https://www.ecosophia.net/november-2023-open-post/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ +https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/ +https://vitalyparnas.com/posts/2019/07/w3m-redux/ +https://vitalyparnas.com/connect/ diff --git a/.w3m/bin/w3mlastsession b/.w3m/bin/w3mlastsession index a250ba6..ef0c8f0 100755 --- a/.w3m/bin/w3mlastsession +++ b/.w3m/bin/w3mlastsession @@ -1,3 +1,5 @@ #!/usr/bin/env sh w3m -N \ -'https://www.ecosophia.net/november-2023-open-post/' +'https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/' \ +'https://vitalyparnas.com/posts/2019/07/w3m-redux/' \ +'https://vitalyparnas.com/connect/' diff --git a/.w3m/config b/.w3m/config index 7acbcdc..ad5e3d1 100644 --- a/.w3m/config +++ b/.w3m/config @@ -11,7 +11,7 @@ display_image 0 # activate external image viewer ext_image_viewer 1 -imgdisplay w3mimgdisplay +imgdisplay feh %s eolor 1 basic_color terminal @@ -38,6 +38,8 @@ keymap_file keymap # Open page in the default browser (vivaldi) extbrowser xdg-open %s +# open in surf +extbrowser2 surf %s & # Append url to $NOTES extbrowser3 url=%s out_file='/home/lxf/inbox/new.txt' && echo $url >> $out_file && echo $url saved to $out_file && read s diff --git a/.w3m/keymap b/.w3m/keymap index 0b988b1..38da742 100644 --- a/.w3m/keymap +++ b/.w3m/keymap @@ -78,7 +78,7 @@ keymap C-o NULL #keymap TAB NULL keymap C-j NULL keymap C-] NULL -keymap I NULL +#keymap I NULL keymap ESC-I NULL keymap ESC-C-j NULL keymap y NULL @@ -233,8 +233,8 @@ keymap C-o LOAD #-miscellany.................................................................... keymap C-Y DOWNLOAD_LIST #Show download menu keymap C-y DOWNLOAD_LIST #Show download menu -keymap :E EDIT_SCREEN #Edit current rendered document with sensible-editor -keymap :e EDIT #Edit current local file wtih sensible-editor +keymap ,e EDIT_SCREEN #Edit current rendered document with sensible-editor +keymap ,E EDIT #Edit current local file wtih sensible-editor keymap M-u LIST #Show list of all links, anchors and images keymap M-m MOUSE_TOGGLE #Toggle activity of mouse @@ -266,10 +266,11 @@ keymap C-x COMMAND "SET_OPTION fold_line=toggle ; RESHAPE" # # My custom bindings keymap C-p COMMAND "SAVE_SCREEN /home/lxf/inbox/output.txt && mutt -s 'output test' sng@luxagraf.net < /home/lxf/inbox/output.txt" -keymap M-p COMMAND "SAVE_SCREEN /home/lxf/inbox/%s.txt" +#keymap M-p COMMAND "SAVE_SCREEN /home/lxf/inbox/%s.txt" ## fzf search of commands keymap xx COMMAND "READ_SHELL ~/.w3m/cgi-bin/fnx_fzfmiru.cgi ; BACK ; GOTO file:/cgi-bin/fnx_execute.cgi ; BACK" keymap sg COMMAND "SET_OPTION dictcommand=file:///cgi-bin/omnibar_google.cgi ; DICT_WORD" +keymap sd COMMAND "SET_OPTION dictcommand=file:///cgi-bin/omnibar_duckduckgo.cgi ; DICT_WORD" keymap sb COMMAND "SET_OPTION dictcommand=file:///cgi-bin/omnibar_brave.cgi ; DICT_WORD" # Navigate back without deleting current buffer @@ -277,6 +278,8 @@ keymap H PREV keymap < PREV keymap LEFT PREV +keymap I EXTERN_LINK 'feh -. -x -B black -g 1800x1200-15+60 %s &' + # Navigate forward without deleting current buffer keymap > NEXT keymap RIGHT NEXT @@ -287,6 +290,9 @@ keymap c PEEK # Pop-up menu with open buffers keymap b SELECT_MENU +# reader view because no one updated their skip to content links when they changed designs +keymap R COMMAND "READ_SHELL 'rdrview $W3M_URL -H 2> /dev/null 1> /tmp/readable.html' ; LOAD /tmp/readable.html" + #### toggle hinting mode (vimium similar) keymap f-SPC COMMAND "SET_OPTION display_link_number=toggle ; RESHAPE" #### jump to link number (e.g press 3ff) and hide hinting mode (similar to gg in vim) diff --git a/.w3m/siteconf b/.w3m/siteconf new file mode 100644 index 0000000..c483bed --- /dev/null +++ b/.w3m/siteconf @@ -0,0 +1,27 @@ +url m!^https?://([a-z]+\.)?twitter\.com/! +substitute_url "https://nitter.net/" + +url m!^https?://([a-z]+\.)?reddit\.com/! +substitute_url "https://safereddit.com/" + +#url m!^https?://([a-z]+\.)?google\.com/! +#substitute_url "https://duckduckgo.com/lite/" + +url m!^https?://([a-z]+\.)?imgur\.com/! +substitute_url "https://rimgo.pussthecat.org/" + +url m!^https?://([a-z]+\.)?wikipedia\.com/! +substitute_url "https://wl.vern.cc/" + +url "https://www.youtube.com/" exact +substitute_url "file:/cgi-bin/video.cgi?" +#substitute_url "https://yewtu.be/" + +url "https://stackoverflow.com/" exact +substitute_url "https://ao.bloatcat.tk/" + +url "https://medium.com/" exact +substitute_url "https://scribe.rip/" + +url "https://web.archive.org/" exact +substitute_url "https://wayback-classic.net/" -- cgit v1.2.3-70-g09d2