diff options
author | sefidel <contact@sefidel.net> | 2022-02-15 13:29:32 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-15 13:56:26 +0900 |
commit | 73a84d9ca095646be0a7734cc162aaad9c3891d2 (patch) | |
tree | 043c4d472dbb8c1ef04a103637868fa52a45b639 /home/profiles/messaging/default.nix | |
parent | 0620f8ee8f999ee3d7a9554483ffc99df15161e1 (diff) | |
download | nixrc-73a84d9ca095646be0a7734cc162aaad9c3891d2.tar.gz nixrc-73a84d9ca095646be0a7734cc162aaad9c3891d2.zip |
feat(home/messaging): add urlview
Diffstat (limited to 'home/profiles/messaging/default.nix')
-rw-r--r-- | home/profiles/messaging/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix index 27087b1..8e472a3 100644 --- a/home/profiles/messaging/default.nix +++ b/home/profiles/messaging/default.nix @@ -279,7 +279,14 @@ in # application/pgp-encrypted; gpg -d '%s'; copiousoutput; ''; + home.file.".urlview".text = '' + REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] + COMMAND qutebrowser %s + ''; + home.packages = with pkgs; [ + urlview + element-desktop weechat ]; |