Compare commits

...

5 commits

Author SHA1 Message Date
ant
394a641341 restore lfcd fish function that was removed by mistake
Some checks failed
/ build-all (push) Has been cancelled
2025-10-30 21:09:45 +01:00
ant
cab460dcb1 home: fix zathura was not the default pdf viewer 2025-10-30 21:09:45 +01:00
ant
f63f401ffd home: add tor-browser to more-software 2025-10-30 21:09:45 +01:00
ant
22d8738876 add .gitignore 2025-10-30 21:09:45 +01:00
ant
49a6082e47 revert st color changes 2025-10-30 21:09:45 +01:00
5 changed files with 22 additions and 5 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

8
flake.lock generated
View file

@ -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",

View file

@ -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";

View file

@ -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";

View file

@ -24,6 +24,7 @@
yazi
ncdu
android-tools
tor-browser
];
programs.neovim.extraPackages = with pkgs; [