summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-23 13:24:02 +0100
committerJoe <rbo@gmx.us>2024-12-23 13:24:02 +0100
commited6ba99b529448b589be792e5a5b9ebccf411679 (patch)
tree5559c28cbf3ba20fe702ca5bf3cc174f81bb93eb
parentup (diff)
downloaddotfiles-bsd-ed6ba99b529448b589be792e5a5b9ebccf411679.tar.gz
dotfiles-bsd-ed6ba99b529448b589be792e5a5b9ebccf411679.tar.bz2
dotfiles-bsd-ed6ba99b529448b589be792e5a5b9ebccf411679.tar.xz
dotfiles-bsd-ed6ba99b529448b589be792e5a5b9ebccf411679.tar.zst
dotfiles-bsd-ed6ba99b529448b589be792e5a5b9ebccf411679.zip
up
-rw-r--r--.config/alacritty/alacritty.toml5
-rw-r--r--.config/lf/lfrc12
2 files changed, 11 insertions, 6 deletions
diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml
index e039066..37fc145 100644
--- a/.config/alacritty/alacritty.toml
+++ b/.config/alacritty/alacritty.toml
@@ -43,6 +43,11 @@ render_timer = false
[env]
TERM = "xterm-256color"
+[shell]
+program = "/usr/bin/zsh"
+args = "--login"
+
+
[font]
size = 15.0
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index dc96a65..f79c712 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -21,21 +21,21 @@ cmd open ${{
text/html) $BROWSER $fx ;;
text/plain) $PAGER $fx ;;
text/*|application/json|inode/x-empty) bat --style=plain --tabs 4 --paging=always -f $fx ;;
- image/x-xcf) setsid gimp $f >/dev/null 2>&1 ;;
+ image/x-xcf) gimp $f >/dev/null 2>&1 ;;
image/svg+xml) display -- $f ;;
image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" |
nsxiv -aibof 2>/dev/null | while read -r file; do
[ -z "$file" ] && continue
lf -remote "send select \"$file\""
lf -remote "send toggle"
- done &
+ done
;;
- audio/*) setsid $TERMINAL -e mpv --no-audio-display --audio-channels=stereo $fx & ;;
- video/*) setsid mpv --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 & ;;
+ audio/*) $TERMINAL -e mpv --no-audio-display --audio-channels=stereo $fx ;;
+ video/*) mpv --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 ;;
*opendocument*) odt2txt $f | $PAGER ;;
- application/pdf|application/vnd*|application/epub*) setsid zathura $fx >/dev/null 2>&1 ;;
+ application/pdf|application/vnd*|application/epub*) zathura $fx >/dev/null 2>&1 ;;
application/pgp-encrypted) $EDITOR $fx ;;
- *) for f in $fx; do setsid xdg-open $f >/dev/null 2>&1; done;;
+ *) for f in $fx; do xdg-open $f >/dev/null 2>&1; done;;
esac
}}