diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-04-20 00:50:00 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-04-20 00:50:00 +0300 |
commit | 76029e29f72d84cfda69be529c33f621144f3ef9 (patch) | |
tree | f0157552303082311fa850dcfbd8f01c860956ec /dotfiles | |
parent | 4fe087c59d20988192485d11990d48ba6c73aa0c (diff) | |
download | swayrice-76029e29f72d84cfda69be529c33f621144f3ef9.tar.gz swayrice-76029e29f72d84cfda69be529c33f621144f3ef9.zip |
Fix xdg-open/mimeo blocking
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/lf/lfrc | 7 | ||||
-rw-r--r-- | dotfiles/.config/ncmpcpp/config | 2 | ||||
-rw-r--r-- | 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 |