Move symon to spacemacs-modeline layer
This commit is contained in:
parent
30d7beb277
commit
bb57dc8cd9
|
@ -1262,6 +1262,7 @@ Some elements can be dynamically toggled:
|
|||
| ~SPC t m M~ | toggle the major mode |
|
||||
| ~SPC t m n~ | toggle the cat! (if =colors= layer is declared in your dotfile) |
|
||||
| ~SPC t m p~ | toggle the point character position |
|
||||
| ~SPC t m s~ | toggle system monitor (displayed in the minibuffer) |
|
||||
| ~SPC t m t~ | toggle the time |
|
||||
| ~SPC t m T~ | toggle the mode line itself |
|
||||
| ~SPC t m v~ | toggle the version control info |
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
'(
|
||||
fancy-battery
|
||||
spaceline
|
||||
symon
|
||||
))
|
||||
|
||||
(defun spacemacs-modeline/init-fancy-battery ()
|
||||
|
@ -106,3 +107,14 @@
|
|||
;; Enable spaceline for buffers created before the configuration of
|
||||
;; spaceline
|
||||
(spacemacs//set-powerline-for-startup-buffers))))
|
||||
|
||||
(defun spacemacs-modeline/init-symon ()
|
||||
(use-package symon
|
||||
:defer t
|
||||
:init
|
||||
(progn
|
||||
(setq symon-delay 0
|
||||
symon-refresh-rate 2)
|
||||
(spacemacs|add-toggle minibuffer-system-monitor
|
||||
:mode symon-mode
|
||||
:evil-leader "tms"))))
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
#+TITLE: symon layer
|
||||
|
||||
* Table of Contents :TOC_4_gh:noexport:
|
||||
- [[#description][Description]]
|
||||
- [[#install][Install]]
|
||||
- [[#keybindings][Keybindings]]
|
||||
|
||||
* Description
|
||||
[[https://github.com/zk-phi/symon][Tiny graphical system monitor]] that displays various loads in the MiniBuffer
|
||||
when enabled and Emacs is idle.
|
||||
|
||||
* Install
|
||||
To use this configuration layer, add it to your =~/.spacemacs= file.
|
||||
|
||||
* Keybindings
|
||||
|
||||
| Key Binding | Description |
|
||||
|-------------+----------------------------------|
|
||||
| ~SPC t M~ | toggle MiniBuffer system monitor |
|
|
@ -1,20 +0,0 @@
|
|||
;;; config.el --- symon Layer Packages File for Spacemacs
|
||||
;;
|
||||
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
|
||||
;;
|
||||
;; Author: Eugene "JAremko" Yaremenko <w3techplayground@gmail.com>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
(setq symon-packages '(symon))
|
||||
|
||||
(defun symon/init-symon ()
|
||||
(use-package symon
|
||||
:defer t
|
||||
:init
|
||||
(spacemacs|add-toggle minibuffer-system-monitor
|
||||
:mode symon-mode
|
||||
:evil-leader "tM")))
|
Loading…
Reference in New Issue