From 46a61f0fa78fcba223fa066fa988ea7021f8e512 Mon Sep 17 00:00:00 2001 From: ant Date: Mon, 6 Oct 2025 22:06:59 +0200 Subject: [PATCH 1/5] revert st color changes --- flake.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 518886f..7afee1a 100644 --- a/flake.lock +++ b/flake.lock @@ -261,11 +261,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1759490516, - "narHash": "sha256-AjlhGuJlYt4Y0GCMUl9l77ua3XPi6fwChXTasrskhmY=", - "rev": "042af42400e57abd9d1ad50f6094ea09b2679b2d", + "lastModified": 1752791100, + "narHash": "sha256-NsZUGTrB13vYzkJXlrJHnTll91cTlYb/p1ubmGupysg=", + "rev": "48f696499db3c6adfe6e0813afc49c582be20a3b", "type": "tarball", - "url": "https://git.antoinevaure.fr/api/v1/repos/ant/st-flexipatch/archive/042af42400e57abd9d1ad50f6094ea09b2679b2d.tar.gz" + "url": "https://git.antoinevaure.fr/api/v1/repos/ant/st-flexipatch/archive/48f696499db3c6adfe6e0813afc49c582be20a3b.tar.gz" }, "original": { "type": "tarball", From 460e57edfe5e9a439526215dca20158a81b792a3 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:13:04 +0200 Subject: [PATCH 2/5] add .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2be92b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result From fdf50b860eddee86371fdff7688569c33c207c81 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:13:19 +0200 Subject: [PATCH 3/5] home: add tor-browser to more-software --- home/more-software.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/more-software.nix b/home/more-software.nix index e42f19d..6e7f1cc 100644 --- a/home/more-software.nix +++ b/home/more-software.nix @@ -24,6 +24,7 @@ yazi ncdu android-tools + tor-browser ]; programs.neovim.extraPackages = with pkgs; [ From 064e0683d0eca04e6aed88fc6b5257018a8a8eb1 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:23:50 +0200 Subject: [PATCH 4/5] home: fix zathura was not the default pdf viewer --- home/gui-software.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/gui-software.nix b/home/gui-software.nix index f89916e..5c46b80 100644 --- a/home/gui-software.nix +++ b/home/gui-software.nix @@ -53,7 +53,7 @@ programs.zathura.enable = true; xdg.mimeApps.defaultApplications = { - "application/pdf" = "zathura.desktop"; + "application/pdf" = "org.pwmt.zathura.desktop"; "WebBrowser" = "firefox.desktop"; "x-scheme-handler/http" = "firefox.desktop"; "x-scheme-handler/https" = "firefox.desktop"; From c3ba84920743ff1926817cfe15a74a8ac7e41db8 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:28:49 +0200 Subject: [PATCH 5/5] restore lfcd fish function that was removed by mistake --- home/lf.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/home/lf.nix b/home/lf.nix index adef56c..e4aba23 100644 --- a/home/lf.nix +++ b/home/lf.nix @@ -190,6 +190,21 @@ ''; }; + programs.fish.functions.lfcd.body = '' + set tmp (mktemp) + # `command` is needed in case `lfcd` is aliased to `lf` + command lf -last-dir-path=$tmp $argv + if test -f "$tmp" + set dir (cat $tmp) + rm -f $tmp + if test -d "$dir" + if test "$dir" != (pwd) + cd $dir + end + end + end + ''; + programs.fish = { shellAliases = { f = "lfcd";