aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-13 20:03:11 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-10-13 20:03:11 +0300
commit75395bc792fe2cdd1f508f657ca289829b80c506 (patch)
tree57f312d82f390adb9a10f8cea3d56f2d54b73727 /dotfiles
parent9b9b48ccd7e4035b17e253a78760da9491db04b2 (diff)
downloadswayrice-75395bc792fe2cdd1f508f657ca289829b80c506.tar.gz
swayrice-75395bc792fe2cdd1f508f657ca289829b80c506.zip
lf: use mimeo instead of the default opener...
...so that now I can open multiple files at once.
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/lf/lfrc6
-rw-r--r--dotfiles/.config/youtube-viewer/youtube-viewer.conf3
2 files changed, 4 insertions, 5 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc
index f14dc87..51115c2 100644
--- a/dotfiles/.config/lf/lfrc
+++ b/dotfiles/.config/lf/lfrc
@@ -1,6 +1,3 @@
-# Personal lf conf
-# Inspired by the official example conf and Luke Smith's voidrice's
-
set icons
set scrolloff 10
set ratios 1:4:3
@@ -41,7 +38,6 @@ cmd tar ${{
}}
# extract the current file with the right command
-# (xkcd link: https://xkcd.com/1168/)
cmd extract ${{
set -f
case $f in
@@ -73,6 +69,8 @@ cmd dragon_drop $cp $(dragon-drag-and-drop --target | sed 's/file:\/\///g') .
# copy path to clipboard
cmd yank-path &printf '%s' "$fx" | wl-copy
+cmd open &mimeo $fx
+
# Bindings
map A rename
map c
diff --git a/dotfiles/.config/youtube-viewer/youtube-viewer.conf b/dotfiles/.config/youtube-viewer/youtube-viewer.conf
index 9037017..e498798 100644
--- a/dotfiles/.config/youtube-viewer/youtube-viewer.conf
+++ b/dotfiles/.config/youtube-viewer/youtube-viewer.conf
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# YouTube Viewer 3.9.3 - configuration file
+# YouTube Viewer 3.9.6 - configuration file
our $CONFIG = {
auto_captions => 0,
@@ -47,6 +47,7 @@ our $CONFIG = {
env_proxy => 1,
fat32safe => 0,
ffmpeg_cmd => "/usr/bin/ffmpeg",
+ force_fallback => 0,
fullscreen => 0,
get_captions => 1,
get_term_width => 1,