From 73a84d9ca095646be0a7734cc162aaad9c3891d2 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 15 Feb 2022 13:29:32 +0900 Subject: feat(home/messaging): add urlview --- home/profiles/messaging/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'home') 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 ]; -- cgit 1.4.1