mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
Fix alists
This commit is contained in:
parent
27dc56278b
commit
e9a105b9eb
|
|
@ -132,10 +132,10 @@ utilization."
|
|||
*cpu-modeline-fmt*))
|
||||
|
||||
(defvar *cpu-formatters-alist*
|
||||
'((#\c . fmt-cpu-usage)
|
||||
(#\C . fmt-cpu-usage-bar)
|
||||
(#\f . fmt-cpu-freq)
|
||||
(#\t . fmt-cpu-temp)))
|
||||
'((#\c fmt-cpu-usage)
|
||||
(#\C fmt-cpu-usage-bar)
|
||||
(#\f fmt-cpu-freq)
|
||||
(#\t fmt-cpu-temp)))
|
||||
|
||||
(defvar *cpu-modeline-fmt* "%c (%f) %t"
|
||||
"The default value for displaying cpu information on the modeline.
|
||||
|
|
|
|||
|
|
@ -75,12 +75,12 @@
|
|||
(format nil "~{~a ~}" fmts)))
|
||||
|
||||
(defvar *disk-formatters-alist*
|
||||
'((#\d disk-get-device)
|
||||
(#\s disk-get-size)
|
||||
(#\u disk-get-used)
|
||||
(#\a disk-get-available)
|
||||
(#\p disk-get-use-percent)
|
||||
(#\m disk-get-mount-point)))
|
||||
'((#\d disk-get-device)
|
||||
(#\s disk-get-size)
|
||||
(#\u disk-get-used)
|
||||
(#\a disk-get-available)
|
||||
(#\p disk-get-use-percent)
|
||||
(#\m disk-get-mount-point)))
|
||||
|
||||
(defvar *disk-modeline-fmt* "%m: %u/%s"
|
||||
"The default value for displaying disk usage information on the modeline.
|
||||
|
|
|
|||
|
|
@ -93,9 +93,9 @@
|
|||
|
||||
|
||||
(defvar *maildir-formatters-alist*
|
||||
'((#\n maildir-get-new)
|
||||
(#\c maildir-get-cur)
|
||||
(#\t maildir-get-tmp)))
|
||||
'((#\n . maildir-get-new)
|
||||
(#\c . maildir-get-cur)
|
||||
(#\t . maildir-get-tmp)))
|
||||
|
||||
(defvar *maildir-modeline-fmt* "%n %c"
|
||||
"The default value for displaying maildir information on the modeline.
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ total amount of memory, allocated memory, allocated/total ratio"
|
|||
(mem-usage)))
|
||||
|
||||
(defvar *mem-formatters-alist*
|
||||
'((#\a . fmt-mem-allocated)
|
||||
(#\p . fmt-mem-percent)
|
||||
(#\b . fmt-mem-usage-bar)))
|
||||
'((#\a fmt-mem-allocated)
|
||||
(#\p fmt-mem-percent)
|
||||
(#\b fmt-mem-usage-bar)))
|
||||
|
||||
(defvar *mem-modeline-fmt* "MEM: %a %p"
|
||||
"The default value for displaying mem usage information on the modeline.
|
||||
|
|
|
|||
|
|
@ -163,10 +163,10 @@ For the second case rescans route table every minute."
|
|||
*net-modeline-fmt*))
|
||||
|
||||
(defvar *net-formatters-alist*
|
||||
'((#\d . net-device)
|
||||
(#\u . fmt-net-usage)
|
||||
(#\i . fmt-ipv4)
|
||||
(#\I . fmt-ipv6)))
|
||||
'((#\d net-device)
|
||||
(#\u fmt-net-usage)
|
||||
(#\i fmt-ipv4)
|
||||
(#\I fmt-ipv6)))
|
||||
|
||||
(defvar *net-modeline-fmt* "%d: %u"
|
||||
"The default value for displaying net information on the modeline.
|
||||
|
|
|
|||
Loading…
Reference in a new issue