about summary refs log tree commit diff
path: root/home/profiles/messaging
diff options
context:
space:
mode:
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
     ];