diff options
Diffstat (limited to 'keycast-conf.el')
-rw-r--r-- | keycast-conf.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/keycast-conf.el b/keycast-conf.el index b71f9c9..a7bb5c6 100644 --- a/keycast-conf.el +++ b/keycast-conf.el @@ -24,19 +24,22 @@ ;;; Code: -;;; The original minor mode tries to insert an element to the -;;; `mode-line-format'. But my mode line format consists of one -;;; custom element only, so it is not going to work that way. Rather, -;;; I shall define my own minor mode to just skip this part. +;; The original minor mode tries to insert an element to the +;; `mode-line-format'. But my mode line format consists of one custom +;; element only, so it is not going to work that way. Rather, I shall +;; define my own minor mode to just skip this part. (autoload 'use-package "basic") (use-package "keycast" 'keycast) (require 'keycast) +(require 'modeline) (setq keycast-separator-width 0) +(setq keycast-window-predicate #'modeline-active-window-p) + (setq keycast-substitute-alist (list (list #'self-insert-command (string #x2e) "Typing..."))) |