Following Terminal Links with URLview
Link handling
Specify what you want urlview to open your links with in ~/.urlview after COMMAND
. I.e. the line below will make urlview open all urls in Firefox.
COMMAND firefox
# Luke's config for the Zoomer Shell | |
# Enable colors and change prompt: | |
autoload -U colors && colors | |
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " | |
# History in cache directory: | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
HISTFILE=~/.cache/zsh/history |
# vim: filetype=i3 | |
# File originally by Luke Smith <https://lukesmith.xyz> | |
# This config file will use environmental variables such as $BROWSER and $TERMINAL. | |
# You can set these variables in ~/.profile or ~/.bash_profile if you have it as below: | |
# | |
# export FILE="ranger" | |
# export TERMINAL="st" | |
# #---Basic Definitions---# # |
Specify what you want urlview to open your links with in ~/.urlview after COMMAND
. I.e. the line below will make urlview open all urls in Firefox.
COMMAND firefox
# vim: filetype=neomuttrc | |
# Default index colors: | |
color index yellow default '.*' | |
color index_author red default '.*' | |
color index_number blue default | |
color index_subject cyan default '.*' | |
# For new mail: | |
color index brightyellow black "~N" | |
color index_author brightred black "~N" |
These directions are partial modeled from this video by Ironclaw, so props to him.
Wine must be installed. Run winecfg
, and in the Graphics
tab, pick the Emulate a virtual desktop
option with a resolution smaller than your screen for now.
pacman -S wine
winecfg
#!/bin/sh | |
sed " | |
s/title\s*=\s*{\(.*\)},*/%T \1/I | |
s/author\s*=\s*{\(.*\)},*/%A \1/I | |
s/publisher\s*=\s*{\(.*\)},*/%I \1/I | |
s/doi\s*=\s*{\(.*\)},*/%K \1/I | |
s/journal\s*=\s*{\(.*\)},*/%J \1/I | |
s/volume\s*=\s*{\(.*\)},*/%V \1/I | |
s/number\s*=\s*{\(.*\)},*/%N \1/I | |
s/pages\s*=\s*{\(.*\)},*/%P \1/I |