eww: Fix GPU 'suspending' state not being handled

This commit is contained in:
GaspardCulis 2024-01-27 13:25:33 +01:00
parent 91d65c30c4
commit 01b45e7878

View file

@ -97,8 +97,8 @@
) )
) )
(defvar GPU_ICON '{"active": "󰍹", "suspended": "󰶐", "resuming": "󱄄"}') (defvar GPU_ICON '{"active": "󰍹", "suspended": "󰶐", "resuming": "󱄄", "suspending": "󱄄"}')
(defvar GPU_STATE '{"active": "warning", "suspended": "normal", "resuming": "warning"}') (defvar GPU_STATE '{"active": "warning", "suspended": "normal", "resuming": "warning", "suspending": "normal"}')
(defwidget gpustatus [] (defwidget gpustatus []
(label (label
:text "${GPU_ICON[gpu_status]} " :text "${GPU_ICON[gpu_status]} "