summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-03-03 10:44:34 +0100
committerJoe <rbo@gmx.us>2025-03-03 10:44:34 +0100
commit3cc594b0322507b7df42a9f8177925fdf2f035c3 (patch)
tree908e690cc7e3e9984315da890c822cc4a9ff0d46
parentup (diff)
downloaddotfiles-bsd-3cc594b0322507b7df42a9f8177925fdf2f035c3.tar.gz
dotfiles-bsd-3cc594b0322507b7df42a9f8177925fdf2f035c3.tar.bz2
dotfiles-bsd-3cc594b0322507b7df42a9f8177925fdf2f035c3.tar.xz
dotfiles-bsd-3cc594b0322507b7df42a9f8177925fdf2f035c3.tar.zst
dotfiles-bsd-3cc594b0322507b7df42a9f8177925fdf2f035c3.zip
-rw-r--r--.config/lf/lfrc7
-rw-r--r--.config/x11/xinitrc2
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