From 1ad7b30c73edc3499a9382799d23ae0d6961ca8a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Apr 2026 18:52:17 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 68d5540d..6b6546f5 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -337,7 +337,29 @@ in { }; size = 10; }; - hints.alphabet = "aoeuhtns"; + hints = { + alphabet = "aoeuhtns"; + enabled = [ + { + command = lib.getExe' pkgs.xdg-utils "xdg-open"; + hyperlinks = true; + post_processing = true; + persist = false; + mouse.enabled = true; + binding = { key = "O"; mods = "Control|Shift"; }; + regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\"\\\\s{-}\\\\^⟨⟩`\\\\\\\\]+"; + } + { + command = lib.getExe' pkgs.wl-clipboard-rs "wl-copy"; + hyperlinks = true; + post_processing = true; + persist = false; + mouse.enabled = true; + binding = { key = "Y"; mods = "Control|Shift"; }; + regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\"\\\\s{-}\\\\^⟨⟩`\\\\\\\\]+"; + } + ]; + }; terminal.shell.program = lib.getExe cfg.programs.zsh.package; }; }; -- cgit v1.2.3