From c83c7a5c177fdb603f3032c7e905a319c8f1559e Mon Sep 17 00:00:00 2001 From: Phantop Date: Fri, 25 Oct 2024 12:13:44 -0400 Subject: [PATCH] nnn: set up image preview plugin --- bin/config.fish | 3 ++- kitty/kitty.conf | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/config.fish b/bin/config.fish index e8c5159..269efd4 100755 --- a/bin/config.fish +++ b/bin/config.fish @@ -9,7 +9,8 @@ fish_add_path -U ~/.local/appdwarf/{,apps{,/bin}} set -Ux EDITOR nvim set -Ux GTK_THEME Dracula set -Ux MANPAGER 'nvim +Man!' -set -Ux NNN_PLUG 'f:fzcd;i:imgur;j:autojump;m:nmount;s:imgview' +set -Ux NNN_FIFO /tmp/nnn.fifo +set -Ux NNN_PLUG 'f:fzcd;i:imgur;j:autojump;m:nmount;p:preview-tui;s:imgview' set -Ux PAGER most set -Ux QT_QPA_PLATFORMTHEME qt5ct set -Ux USE_CCACHE 1 diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 0c5ff6e..48a37b9 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -11,6 +11,7 @@ close_on_child_death yes initial_window_width 80c initial_window_height 24c allow_remote_control yes +listen_on unix:@kitty{kitty_pid} hide_window_decorations yes map shift+page_up scroll_page_up