about summary refs log tree commit diff
path: root/home/profiles/messaging
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-15 13:29:32 +0900
committersefidel <contact@sefidel.net>2022-02-15 13:56:26 +0900
commit73a84d9ca095646be0a7734cc162aaad9c3891d2 (patch)
tree043c4d472dbb8c1ef04a103637868fa52a45b639 /home/profiles/messaging
parent0620f8ee8f999ee3d7a9554483ffc99df15161e1 (diff)
downloadnixrc-73a84d9ca095646be0a7734cc162aaad9c3891d2.tar.gz
nixrc-73a84d9ca095646be0a7734cc162aaad9c3891d2.zip
feat(home/messaging): add urlview
Diffstat (limited to 'home/profiles/messaging')
-rw-r--r--home/profiles/messaging/default.nix7
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
     ];