diff options
-rw-r--r-- | init.el | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -502,8 +502,8 @@ (let ((title (jao-river-get-focused-title))) (when (string-match-p "\\.pdf" title) (jao-notify title "Opening ORG counterpart")) - (jao-pdf-goto-zathura-org title t) - (jao-river-to-ws 1))) + (jao-river-to-ws 1) + (jao-pdf-goto-zathura-org title t))) (defun jao-river-find-zathura-window (file) (let ((frx (regexp-quote (file-name-nondirectory file)))) @@ -527,7 +527,9 @@ (interactive) (when (jao-shell-running-p "i3bar-river") (jao-shell-string "killall i3bar-river")) - (jao-shell-exec "i3bar-river")) + (jao-shell-exec "i3bar-river") + (sit-for 0.2) + (jao-tracking-set-log "")) ;;;; sway (defmacro jao-def-swaymsg (name msg) @@ -592,7 +594,7 @@ (make-symbolic-link f current t) (cond (jao-river-enabled (jao-river-set-wallpaper f)) (jao-sway-enabled (jao-sway-set-wallpaper f)) - (t (format "xwallpaper --zoom %s" f)))))) + (t (shell-command-to-string (format "xwallpaper --zoom %s" f))))))) (defun jao-set-random-wallpaper () (interactive) |