From 07473c7d5ea09c5c1b292ff7c65523b0eece5b58 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 22 Jul 2022 17:45:53 +0900 Subject: feat(home/messaging): use urlscan for url view --- home/profiles/messaging/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'home/profiles/messaging') 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 " "index,pager \\Cp " "index,pager \\Cn " + "index,pager \\Cb urlscan" + "attach,compose \\Cb urlscan" ]; # 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 -- cgit 1.4.1