Add multiple hosts & restructure things
This commit is contained in:
19
modules/lf/home.nix
Normal file
19
modules/lf/home.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ ... }: {
|
||||
programs.lf = {
|
||||
enable = true;
|
||||
commands = {
|
||||
q = "quit"; # Why didn't they do this btw
|
||||
};
|
||||
keybindings = {
|
||||
"<enter>" = "$$OPENER $f";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.desktopEntries.lf = {
|
||||
name = "LF";
|
||||
genericName = "File browser";
|
||||
exec = "lf %U";
|
||||
terminal = true;
|
||||
mimeType = [ "inode/directory" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user