replace Nautilus with yazi

This commit is contained in:
Adithya 2024-05-12 23:02:44 +05:30
parent 0c5e716cc0
commit 21b87bb361
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 6 additions and 8 deletions

View file

@ -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 = {

View file

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