mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 10:39:41 +00:00
24 lines
397 B
Plaintext
24 lines
397 B
Plaintext
|
; TODO: Figure out how to store this one-time
|
||
|
|
||
|
(defpoll kernel
|
||
|
:interval "10000h"
|
||
|
:initial 'N/A'
|
||
|
; `uname -r | sed -r 's/(.+)-arch(.+)/\\1/'`
|
||
|
`uname -r`)
|
||
|
|
||
|
(defwidget kernel_module []
|
||
|
(eventbox
|
||
|
:class "module kernel"
|
||
|
|
||
|
(box
|
||
|
:space-evenly false
|
||
|
|
||
|
(label
|
||
|
:class "icon"
|
||
|
:text " ")
|
||
|
(label
|
||
|
:class "value"
|
||
|
:text {kernel}
|
||
|
)
|
||
|
)))
|