about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/messaging/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix
index 76bbb28..6d34ff5 100644
--- a/home/profiles/messaging/default.nix
+++ b/home/profiles/messaging/default.nix
@@ -169,6 +169,8 @@ in
         "index,pager \\Cj <sidebar-next><sidebar-open>"
         "index,pager \\Cp <sidebar-prev-new><sidebar-open>"
         "index,pager \\Cn <sidebar-next-new><sidebar-open>"
+        "index,pager \\Cb <pipe-message>urlscan<Enter>"
+        "attach,compose \\Cb <pipe-entry>urlscan<Enter>"
       ];
 
       # TODO: Re-theme this after nightlamp -> limestone theme
@@ -294,13 +296,8 @@ 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
+      urlscan
       ispell
 
       element-desktop