jessebot / dot_files

Default dot files for onboardme including bash, neovim, powerline, neomutt, w3m, wezterm, and more :)
https://jessebot.github.io/onboardme
GNU Affero General Public License v3.0
5 stars 3 forks source link

Figure out if we can get w3m configs into ~/.config/w3m #8

Closed jessebot closed 1 year ago

jessebot commented 1 year ago

This would be really nice to have to further clean up our home directory

jessebot commented 1 year ago

Looks like this was last discussed in https://github.com/tats/w3m/issues/130

jessebot commented 1 year ago

Most recent update was there was a PR submitted to use a temp dir for w3m temp files, which gets us partly the way there.

jessebot commented 1 year ago

I updated some in this dot files repo to try and get more XDG compliant. I added an alias for w3m in the bashrc:

alias w3m='w3m -sixel -config ~/.config/w3m/config'

And then I moved config, mailcap, and keymap from ~/.w3m to ~/.config/w3m and in config set the following:

keymap_file ~/.config/w3m/keymap
mailcap ~/.config/w3m/mailcap

As for the temp files directory, tats says they plan to merge relevant PRs in 2023, so I will close this for now, and then open a new Issue for work to be done to set to the temp directory when it is an option and is pushed out to the homebrew package. I'll keep subscribed on the relevant Issues and PRs until then.