from neom to yazi
This commit is contained in:
parent
3b1371ee80
commit
d0329e6bb7
|
@ -13,5 +13,6 @@
|
|||
./cmus
|
||||
./tmux
|
||||
./mail
|
||||
./yazi
|
||||
];
|
||||
}
|
||||
|
|
3
modules/programs/home/yazi/default.nix
Normal file
3
modules/programs/home/yazi/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.yazi.enable = true;
|
||||
}
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./ssh
|
||||
./gpg
|
||||
./nemo
|
||||
./misc
|
||||
./code
|
||||
];
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = [
|
||||
(let
|
||||
packagesWithSchemas = [
|
||||
pkgs.nemo
|
||||
];
|
||||
in
|
||||
pkgs.runCommand "ngsettings" {
|
||||
nativeBuildInputs = [
|
||||
pkgs.makeWrapper
|
||||
];
|
||||
} ''
|
||||
mkdir -p "$out/bin"
|
||||
# Creates ngsettings program (wrapped gsettings)
|
||||
makeWrapper "${pkgs.glib.bin}/bin/gsettings" "$out/bin/ngsettings" \
|
||||
--set XDG_DATA_DIRS "${lib.concatMapStringsSep ":" pkgs.glib.getSchemaDataDirPath packagesWithSchemas}"
|
||||
'')
|
||||
pkgs.nemo
|
||||
];
|
||||
}
|
|
@ -69,7 +69,7 @@
|
|||
bind = [
|
||||
# launch Apps
|
||||
"$mod,TAB, exec, alacritty"
|
||||
"$mod, E, exec, nemo"
|
||||
"$mod, E, exec, alacritty -e yazi"
|
||||
"$mod, S, exec, firefox"
|
||||
"$mod, X, exec, keepassxc"
|
||||
"$mod, M, exec, mbsync -a && alacritty -e neomutt"
|
||||
|
|
Loading…
Reference in a new issue