From eb47841e975e692e055116ffd0aa669cff2139c9 Mon Sep 17 00:00:00 2001 From: VectorKappa Date: Wed, 20 Dec 2023 09:04:57 +0100 Subject: [PATCH] Ranger trash fix, also kitty previews --- ranger/.config/ranger/rc.conf | 12 ++++++------ ranger/.config/ranger/rifle.conf | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ranger/.config/ranger/rc.conf b/ranger/.config/ranger/rc.conf index 646b16a..6d42352 100644 --- a/ranger/.config/ranger/rc.conf +++ b/ranger/.config/ranger/rc.conf @@ -34,7 +34,7 @@ set column_ratios 1,3,4 set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ # Show hidden files? You can toggle this by typing 'zh' -set show_hidden false +set show_hidden true # Ask for a confirmation when running the "delete" command? # Valid values are "always", "never", "multiple" (default) @@ -57,7 +57,7 @@ set automatically_count_files true set open_all_images true # Be aware of version control systems and display information. -set vcs_aware false +set vcs_aware true # State of the four backends git, hg, bzr, svn. The possible states are # disabled, local (only show local info), enabled (show local and remote @@ -71,7 +71,7 @@ set vcs_backend_svn disabled set vcs_msg_length 50 # Use one of the supported image preview protocols -set preview_images false +set preview_images true # Set the preview image method. Supported methods: # @@ -114,7 +114,7 @@ set preview_images false # Preview images in full color with the external command "ueberzug". # Images are shown by using a child window. # Only for users who run X11 in GNU/Linux. -set preview_images_method ueberzug +set preview_images_method kitty # Delay in seconds before displaying an image with the w3m method. # Increase it in case of experiencing display corruption. @@ -128,7 +128,7 @@ set iterm2_font_width 8 set iterm2_font_height 11 # Use a unicode "..." character to mark cut-off filenames? -set unicode_ellipsis false +set unicode_ellipsis true # BIDI support - try to properly display file names in RTL languages (Hebrew, Arabic). # Requires the python-bidi pip package @@ -183,7 +183,7 @@ set display_free_space_in_status_bar true set display_tags_in_all_columns true # Set a title for the window? Updates both `WM_NAME` and `WM_ICON_NAME` -set update_title false +set update_title true # Set the tmux/screen window-name to "ranger"? set update_tmux_title true diff --git a/ranger/.config/ranger/rifle.conf b/ranger/.config/ranger/rifle.conf index 86f53fd..2189605 100644 --- a/ranger/.config/ranger/rifle.conf +++ b/ranger/.config/ranger/rifle.conf @@ -280,5 +280,5 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" mime application/x-executable = "$1" # Move the file to trash using trash-cli. -label trash, has trash-put = trash-put -- "$@" +label trash, has trash-put = trash-put "$@" label trash = mkdir -p -- ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash; mv -- "$@" ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash