diff options
author | jao <jao@gnu.org> | 2022-06-04 03:06:53 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-06-04 03:06:53 +0100 |
commit | 944dac9722f3149c61a3124228c9489b45a3d10e (patch) | |
tree | f029ec1be187bf8e11c678b187b0641f81e53e3e /lib/eos/jao-tracking.el | |
parent | d726fc6bce480c1a87751c70e31991a0c11c6847 (diff) | |
download | elibs-944dac9722f3149c61a3124228c9489b45a3d10e.tar.gz elibs-944dac9722f3149c61a3124228c9489b45a3d10e.tar.bz2 |
jao-tracking: urgency hints (for xmonad or anyone, really)
Diffstat (limited to 'lib/eos/jao-tracking.el')
-rw-r--r-- | lib/eos/jao-tracking.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el index 520116d..d01df7a 100644 --- a/lib/eos/jao-tracking.el +++ b/lib/eos/jao-tracking.el @@ -1,6 +1,6 @@ ;;; jao-minibuffer-tracking.el --- Tracking notifications in minibuffer -*- lexical-binding: t; -*- -;; Copyright (C) 2021 jao +;; Copyright (C) 2021, 2022 jao ;; Author: jao <mail@jao.io> ;; Keywords: convenience @@ -86,7 +86,9 @@ (defun jao-tracking-set-log (v) (when (member window-system '(x)) - (x-change-window-property "_EMACS_LOG" v nil nil nil nil 0))) + (x-change-window-property "_EMACS_LOG" v nil nil nil nil 0)) + (unless (equal "" v) + (shell-command-to-string "wmctrl -r emacsclient -b add,demands_attention"))) (jao-tracking-set-log "") |