EXWM: Add symon

master
Pierre Neidhardt 2017-07-28 10:45:06 +01:00
parent cc18f9ee62
commit c5455fb4af
2 changed files with 8 additions and 1 deletions

View File

@ -297,7 +297,7 @@
(set-face-attribute 'wgrep-face nil :inherit 'ediff-current-diff-C :foreground 'unspecified :background 'unspecified :box nil))
;;; Window manager
(nconc package-selected-packages '(exwm))
(nconc package-selected-packages '(exwm symon))
(when (require 'exwm nil t) (require 'init-exwm))
;;; XML / SGML

View File

@ -5,6 +5,13 @@
;; <C-escape> in Emacs. In practice, it means that `C-` keys will works but
;; `<escape>` will need a fast double tap on Caps Lock.
;; A system monitor within Emacs is only useful if not using an external tool,
;; as is the case when using another WM.
;; TODO: Would it be possible to have permanenet right-aligned display?
;; https://github.com/zk-phi/symon/issues/32
(when (require 'symon nil t)
(symon-mode))
;;; Rename buffer to window title.
(defun exwm-rename-buffer-to-title () (exwm-workspace-rename-buffer exwm-title))
(add-hook 'exwm-update-title-hook 'exwm-rename-buffer-to-title)