diff options
author | sefidel <contact@sefidel.net> | 2022-07-22 17:45:53 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-07-22 17:45:53 +0900 |
commit | 07473c7d5ea09c5c1b292ff7c65523b0eece5b58 (patch) | |
tree | 319181ea8d56e4994a3cd5bcf6823f2932d1d91f /home/profiles | |
parent | d0baf5444094c3e6f8bdff91c2d3f56f0a4dc4d7 (diff) | |
download | nixrc-07473c7d5ea09c5c1b292ff7c65523b0eece5b58.tar.gz nixrc-07473c7d5ea09c5c1b292ff7c65523b0eece5b58.zip |
feat(home/messaging): use urlscan for url view
Diffstat (limited to 'home/profiles')
-rw-r--r-- | home/profiles/messaging/default.nix | 9 |
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 |