From 3cc594b0322507b7df42a9f8177925fdf2f035c3 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 3 Mar 2025 10:44:34 +0100 Subject: up --- .config/lf/lfrc | 7 +------ .config/x11/xinitrc | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 19653c1..b121f04 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -14,11 +14,6 @@ set previewer '~/.config/lf/scope' # cmds/functions cmd open ${{ - if [ -n "$WAYLAND_DISPLAY" ]; then - IMAGER=imv - else - IMAGER="nsxiv -aibo" - fi case $(file --mime-type "$(readlink -f $f)" -b) in application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt $f | $PAGER ;; @@ -30,7 +25,7 @@ cmd open ${{ image/svg+xml) display -- $f ;; image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" | - $IMAGER 2>/dev/null | while read -r file; do + imv 2>/dev/null | while read -r file; do [ -z "$file" ] && continue lf -remote "send select \"$file\"" lf -remote "send toggle" diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 2b73786..0d3a577 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -103,4 +103,4 @@ xrdb "$HOME"/.config/x11/xresources start_apps & notify-send -u normal 'Welcome' "$icon Welcome back, partner!" -[ $host = "po-rbo" ] && exec dwm +[ $host = "po-rbo" ] && exec dbus-run-session dwm -- cgit v1.2.3