Compare commits
5 commits
f6b132a920
...
394a641341
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
394a641341 | ||
|
|
cab460dcb1 | ||
|
|
f63f401ffd | ||
|
|
22d8738876 | ||
|
|
49a6082e47 |
5 changed files with 22 additions and 5 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
result
|
||||||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -261,11 +261,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759490516,
|
"lastModified": 1752791100,
|
||||||
"narHash": "sha256-AjlhGuJlYt4Y0GCMUl9l77ua3XPi6fwChXTasrskhmY=",
|
"narHash": "sha256-NsZUGTrB13vYzkJXlrJHnTll91cTlYb/p1ubmGupysg=",
|
||||||
"rev": "042af42400e57abd9d1ad50f6094ea09b2679b2d",
|
"rev": "48f696499db3c6adfe6e0813afc49c582be20a3b",
|
||||||
"type": "tarball",
|
"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": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
programs.zathura.enable = true;
|
programs.zathura.enable = true;
|
||||||
|
|
||||||
xdg.mimeApps.defaultApplications = {
|
xdg.mimeApps.defaultApplications = {
|
||||||
"application/pdf" = "zathura.desktop";
|
"application/pdf" = "org.pwmt.zathura.desktop";
|
||||||
"WebBrowser" = "firefox.desktop";
|
"WebBrowser" = "firefox.desktop";
|
||||||
"x-scheme-handler/http" = "firefox.desktop";
|
"x-scheme-handler/http" = "firefox.desktop";
|
||||||
"x-scheme-handler/https" = "firefox.desktop";
|
"x-scheme-handler/https" = "firefox.desktop";
|
||||||
|
|
|
||||||
15
home/lf.nix
15
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 = {
|
programs.fish = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
f = "lfcd";
|
f = "lfcd";
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
yazi
|
yazi
|
||||||
ncdu
|
ncdu
|
||||||
android-tools
|
android-tools
|
||||||
|
tor-browser
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim.extraPackages = with pkgs; [
|
programs.neovim.extraPackages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue