diff options
author | jao <jao@gnu.org> | 2022-09-02 02:38:56 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-02 02:38:56 +0100 |
commit | 12774828a4b540a645c69104db0cf0c7baca2395 (patch) | |
tree | 9a739346f95e11d40caf772947686ab5c78f08b6 | |
parent | a0adbca81514fdd643e99ec58aed2646756e0097 (diff) | |
download | elibs-12774828a4b540a645c69104db0cf0c7baca2395.tar.gz elibs-12774828a4b540a645c69104db0cf0c7baca2395.tar.bz2 |
river tweaks
-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) |