From 9012d3b8bfca8dbd7be116b71785af594c27f577 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 20 Nov 2024 16:16:06 +0300 Subject: [PATCH] Package: Use gio instead of nautilus. --- home/file/keyd/module/Nautilus.nix | 29 ----------------------------- home/file/yazi/module/Keymap.nix | 1 + package/default.nix | 2 +- 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 home/file/keyd/module/Nautilus.nix diff --git a/home/file/keyd/module/Nautilus.nix b/home/file/keyd/module/Nautilus.nix deleted file mode 100644 index 8002a776..00000000 --- a/home/file/keyd/module/Nautilus.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - pkgs, - ... -}: { - file = (pkgs.formats.ini { }).generate "KeydNautilusConfig" { - "org-gnome-nautilus" = { - "alt.capslock" = "C-t"; # New tab. - "alt.t" = "C-n"; # New window. - "alt.x" = "C-w"; # Close tab. - "alt.u" = "C-S-t"; # Restore tab. - "alt.e" = "C-pagedown"; # Next tab. - "alt.q" = "C-pageup"; # Prev tab. - "alt.E" = "C-S-pagedown"; # Move tab next. - "alt.Q" = "C-S-pageup"; # Move tab prev. - "alt.h" = "C-h"; # Toggle hidden files. - "alt.1" = "C-1"; # List view. - "alt.2" = "C-2"; # Grid view. - "alt.b" = "A-up"; # Go back. - "alt.space" = "C-l"; # Focus location bar. - "alt.i" = "C-S-i"; # Invert selection. - "alt.v" = "C-i"; # File info. - "alt.d" = "C-S-delete"; # Delete file. - "alt.s" = "f2"; # Rename. - "alt.a" = "C-S-n"; # Create dir. - "alt.f" = "C-f"; # Search dir. - "alt.r" = "f5"; # Refresh dir. - }; - }; -} diff --git a/home/file/yazi/module/Keymap.nix b/home/file/yazi/module/Keymap.nix index 166b7ced..f98daff4 100644 --- a/home/file/yazi/module/Keymap.nix +++ b/home/file/yazi/module/Keymap.nix @@ -28,6 +28,7 @@ { on = [ "g" "r" ]; desc = "Go to root"; run = "cd /"; } { on = [ "g" "s" ]; desc = "Go to storage"; run = "cd /storage"; } { on = [ "g" "t" ]; desc = "Go to tmp"; run = "cd ~/tmp"; } + { on = [ "g" "u" ]; desc = "Go to user"; run = "cd /run/user/$UID"; } ]; }; }; diff --git a/package/default.nix b/package/default.nix index fab4855f..4412a056 100644 --- a/package/default.nix +++ b/package/default.nix @@ -101,11 +101,11 @@ common = (with pkgs; [ evince # Document viewer. gimp # Image manipulation program. + glib # Gnome lib for gvfs mtp usage with Nintendo Switch. gnome-calculator # Calculator. gparted # GUI disk utility just in case. jellyfin-media-player # Jellyfin client (self-hosted Netflix). loupe # Image viewer. - nautilus # File manager. obs-studio # Streaming/recording app. onlyoffice-bin # Office documents app suite. remmina # RDP app.