idk some tweaks
This commit is contained in:
parent
645a205924
commit
f4447c25e1
7 changed files with 36 additions and 6 deletions
|
@ -231,6 +231,15 @@ tooltip label {
|
|||
margin: 0px 15px 0px 3px;
|
||||
}
|
||||
|
||||
.disk_label {
|
||||
color: $base09;
|
||||
}
|
||||
|
||||
.icondisk {
|
||||
font-size: 18;
|
||||
color: $base09;
|
||||
margin: 0px 15px 0px 3px;
|
||||
}
|
||||
|
||||
.separ {
|
||||
color: $base03;
|
||||
|
|
20
eww/eww.yuck
20
eww/eww.yuck
|
@ -16,6 +16,7 @@
|
|||
(defpoll ESSID_WLAN :interval "1m" "scripts/wifi --ESSID")
|
||||
(defpoll WLAN_ICON :interval "1m" "scripts/wifi --ICON")
|
||||
(defpoll HOST :interval "1h" "hostname")
|
||||
(defpoll DISK :interval "1m" "disk")
|
||||
(deflisten volume_percent :interval "0.5s" "tail -F /tmp/vol")
|
||||
(deflisten workspace "scripts/workspace")
|
||||
(deflisten appname "scripts/appname")
|
||||
|
@ -175,11 +176,27 @@
|
|||
:text "${round(EWW_BATTERY['BAT1'].capacity, 0)}%"
|
||||
:class "bat_label")))
|
||||
|
||||
(defwidget disk []
|
||||
(box
|
||||
:class "disk_module"
|
||||
:vexpand "false"
|
||||
:hexpand "false"
|
||||
:spacing 0
|
||||
(button
|
||||
:onclick "scripts/pop system"
|
||||
:class "icondisk"
|
||||
:tooltip "${DISK}"
|
||||
"")
|
||||
(label
|
||||
:text "${DISK}"
|
||||
:class "disk_label")))
|
||||
|
||||
(defwidget bright []
|
||||
(box
|
||||
:class "bright_module"
|
||||
:vexpand "false"
|
||||
:hexpand "false"
|
||||
:visible {HOST == "kaladin" ? "false" : "true"}
|
||||
(button
|
||||
:class "iconbright"
|
||||
;; :onclick "scripts/pop audio"
|
||||
|
@ -267,7 +284,7 @@
|
|||
:space-evenly "false"
|
||||
:orientation "h"
|
||||
(button
|
||||
:onclick "exec nextcloud"
|
||||
:onclick "nextcloud"
|
||||
(label
|
||||
:text ""))))
|
||||
|
||||
|
@ -314,6 +331,7 @@
|
|||
:halign "end"
|
||||
:class "right_modules"
|
||||
(sep)
|
||||
(disk)
|
||||
(cpu)
|
||||
(mem)
|
||||
(volume)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue