-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ pkgs, config, lib, ... }: | ||
|
||
|
||
|
||
{ | ||
|
||
# Link urlview | ||
home.file.".urlview".source = | ||
config.lib.file.mkOutOfStoreSymlink ./urlview; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
############################################################################### | ||
# Urlview configuration file. | ||
# man urlview <Man page> | ||
# | ||
# Put this file in: $HOME/.urlview | ||
# Put url_handler.sh in: /usr/bin | ||
# | ||
# You can call 'urlview' while in 'mutt' by pressing the Ctrl b keys. | ||
# Put these macros in your $HOME/.muttrc file. | ||
# | ||
# macro index \cb |urlview\n | ||
# macro pager \cb |urlview\n | ||
# | ||
# You can call 'urlview' while in 'tin' by pressing | then a for article, | ||
# put urlview as the pipe command. | ||
# | ||
# Regular expression to use to match URLs. | ||
|
||
#REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] | ||
REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] | ||
|
||
# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh | ||
# shell script. Alternatively, you can leave COMMAND unset and set the BROWSER | ||
# environment variable instead. | ||
|
||
#COMMAND lynx %s | ||
#COMMAND netscape -remote 'openURL(%s)' | ||
#COMMAND url_handler.sh | ||
COMMAND `which google-chrome-stable` |