summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-02 02:38:56 +0100
committerjao <jao@gnu.org>2022-09-02 02:38:56 +0100
commit12774828a4b540a645c69104db0cf0c7baca2395 (patch)
tree9a739346f95e11d40caf772947686ab5c78f08b6 /init.el
parenta0adbca81514fdd643e99ec58aed2646756e0097 (diff)
downloadelibs-12774828a4b540a645c69104db0cf0c7baca2395.tar.gz
elibs-12774828a4b540a645c69104db0cf0c7baca2395.tar.bz2
river tweaks
Diffstat (limited to 'init.el')
-rw-r--r--init.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/init.el b/init.el
index 38013e6..0825b01 100644
--- a/init.el
+++ b/init.el
@@ -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)