From 76029e29f72d84cfda69be529c33f621144f3ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 20 Apr 2023 00:50:00 +0300 Subject: Fix xdg-open/mimeo blocking --- dotfiles/.config/lf/lfrc | 7 ++----- dotfiles/.config/ncmpcpp/config | 2 +- dotfiles/.config/newsboat/config | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc index c6034f9..e9223b8 100644 --- a/dotfiles/.config/lf/lfrc +++ b/dotfiles/.config/lf/lfrc @@ -66,11 +66,8 @@ cmd fzf_jump ${{ cmd fzf_open ${{ res="$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)" if [ -e "$res" ]; then - cmd="mimeo" - else - cmd="select" + &xdg-open "$res" fi - $cmd "$res" }} # drag and drop prompt @@ -81,7 +78,7 @@ cmd dragon_drop $cp $(dragon-drop --target | sed 's/file:\/\///g') . # copy path to clipboard cmd yank-path &printf '%s' "$fx" | wl-copy -cmd open &mimeo $fx +cmd open &xdg-open $fx cmd hard_link %{{ load=$(cat ~/.local/share/lf/files) diff --git a/dotfiles/.config/ncmpcpp/config b/dotfiles/.config/ncmpcpp/config index 6c30992..bcf9710 100644 --- a/dotfiles/.config/ncmpcpp/config +++ b/dotfiles/.config/ncmpcpp/config @@ -12,7 +12,7 @@ lyrics_fetchers = musixmatch, plyrics, jahlyrics, internet # Interfaz: user_interface = "alternative" alternative_header_first_line_format = "$(white)─┤ $b$(cyan)%a$(end)$/b ├─$(end)" -alternative_header_second_line_format = "$(16)$(blue)%t (%y)$(end)" +alternative_header_second_line_format = "$(white)%t (%y)$(end)" alternative_ui_separator_color = "default" # Formato de canción: diff --git a/dotfiles/.config/newsboat/config b/dotfiles/.config/newsboat/config index 659c9b8..0dda478 100644 --- a/dotfiles/.config/newsboat/config +++ b/dotfiles/.config/newsboat/config @@ -33,6 +33,6 @@ color info color7 color0 color article default default color end-of-text-marker white default -browser "setsid mimeo %u" +browser "setsid xdg-open %u &" macro , open-in-browser #macro c set browser "copy(){ printf '%s' $1 | wl-copy ;}; copy "; open-in-browser ; set browser mimeo -- cgit v1.2.3