remove the nextcloud and wifi modules for the tray ones

This commit is contained in:
Chris Cochrun 2024-06-23 14:17:28 -05:00
parent 47d5321743
commit 3eda03e1d8

View file

@ -17,7 +17,7 @@
(defpoll WLAN_ICON :interval "1m" "scripts/wifi --ICON")
(defpoll HOST :interval "1h" "hostname")
(defpoll DISK :interval "1m" "disk")
(defpoll nextcloud :interval "2s" "scripts/nextcloud.sh")
;; (defpoll nextcloud :interval "2s" "scripts/nextcloud.sh")
(deflisten volume_percent :interval "0.5s" "tail -F /tmp/vol")
(deflisten appname "scripts/appname")
@ -237,15 +237,6 @@
(label
:text "󰅽"))))
(defwidget nextcloud_button []
(box
:class "nc_button"
:orientation "h"
:tooltip "${nextcloud}"
(button
:onclick "nextcloud"
"${nextcloud == "Connected - Success" ? "󰅠" : nextcloud == "Connected - Success, some files were ignored." ? "󰅠" : "󰧠"}")))
(defwidget sep []
(label
:class "separ"
@ -309,7 +300,6 @@
:class "right_sep"
:text "|")
(tray)
(wifi)
(notif_button)))
(defwidget bar_layout []