diff --git a/home/programs/files.nix b/home/programs/files.nix index b828ece..4949fc1 100644 --- a/home/programs/files.nix +++ b/home/programs/files.nix @@ -1,12 +1,8 @@ -{ pkgs, ... }: { - home.packages = [ pkgs.gnome.nautilus ]; +_: { dconf.settings = { "org/gtk/gtk4/settings/file-chooser" = { sort-directories-first = true; }; - "org/gnome/nautilus/preferences" = { - click-policy = "double"; - }; }; programs = { fd = { diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 1685116..5a39130 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -13,6 +13,7 @@ let loginctl = "${pkgs.systemd}/bin/loginctl"; tmux = "${config.programs.tmux.package}/bin/tmux"; wpctl = "${pkgs.wireplumber}/bin/wpctl"; + yazi = "${pkgs.yazi}/bin/yazi"; pictures = "${config.xdg.userDirs.pictures}"; in @@ -115,9 +116,9 @@ in "center,class:^(org.gnome.Loupe)$" "dimaround,class:^(org.gnome.Loupe)$" - "float,class:^(org.gnome.Nautilus)$" - "center,class:^(org.gnome.Nautilus)$" - "size 60% 60%,class:^(org.gnome.Nautilus)$" + "float,class:^(yazi)$" + "center,class:^(yazi)$" + "size 90% 90%,class:^(yazi)$" "float,class:^(.yubioath-flutter-wrapped_)$" "center,class:^(.yubioath-flutter-wrapped_)$" @@ -157,6 +158,7 @@ in "SUPER,Return, exec, ${kitty} ${tmux} new" "SUPER_SHIFT,Return, exec, ${kitty}" "SUPER,d, exec, ${rofi} -show drun" + "SUPER,e, exec, ${kitty} --class=yazi ${yazi}" "SUPER,i, exec, ${firefox}" "SUPER_SHIFT,i, exec, ${firefox} --private-window"