summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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