From 18f08bf53591f3e68043730a627889957009deb6 Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 15 Mar 2026 22:13:15 +0100 Subject: browser stuff --- hm/shell/cli.nix | 3 ++- hm/shell/fish.nix | 21 --------------------- 2 files changed, 2 insertions(+), 22 deletions(-) (limited to 'hm/shell') diff --git a/hm/shell/cli.nix b/hm/shell/cli.nix index a9e8397..7011d4d 100644 --- a/hm/shell/cli.nix +++ b/hm/shell/cli.nix @@ -178,7 +178,8 @@ in }; }; }; - programs.pls = { + # TODO: set up lsd + programs.lsd = { enable = true; enableFishIntegration = true; }; diff --git a/hm/shell/fish.nix b/hm/shell/fish.nix index 20b9a95..172d192 100644 --- a/hm/shell/fish.nix +++ b/hm/shell/fish.nix @@ -13,27 +13,6 @@ in programs.fish = { enable = true; - functions = { - rga-fzf = { - body = '' - set -l RG_PREFIX "rga --files-with-matches --smart-case" - set -l file ( - FZF_DEFAULT_COMMAND="$RG_PREFIX '$argv[1]'" \ - fzf --sort \ - --preview='test -n {}; and rga --pretty --context 5 {q} {}' \ - --phony -q "$argv[1]" \ - --bind "change:reload:$RG_PREFIX {q}" \ - --preview-window="70%:wrap" - ) - - if test -n "$file" - echo "Opening $file..." - xdg-open "$file" - end - ''; - }; - }; - interactiveShellInit = '' set fish_greeting fastfetch -- cgit v1.3