Compare commits
2 commits
e79e9fca82
...
20e0792b92
Author | SHA1 | Date | |
---|---|---|---|
20e0792b92 | |||
9f71386f7f |
3 changed files with 23 additions and 19 deletions
|
@ -5,19 +5,21 @@
|
|||
(include "./widgets/resources/eww.yuck")
|
||||
|
||||
(defwindow top-bar
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0%"
|
||||
:y "10px"
|
||||
:width "98.8%"
|
||||
:height "30px"
|
||||
:anchor "top center")
|
||||
:stacking "fg"
|
||||
:exclusive true
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0%"
|
||||
:y "10px"
|
||||
:width "98.8%"
|
||||
:height "30px"
|
||||
:anchor "top center")
|
||||
:stacking "fg"
|
||||
:exclusive true
|
||||
(centerbox
|
||||
:class "bar"
|
||||
(left)
|
||||
(center)
|
||||
(right)))
|
||||
(right)
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget left []
|
||||
(box
|
||||
|
|
|
@ -8,18 +8,18 @@
|
|||
; DATE + TIME
|
||||
|
||||
(defpoll time :interval "5s"
|
||||
:initial ""
|
||||
`date +%H:%M`)
|
||||
:initial ""
|
||||
`date +%H:%M`)
|
||||
(defpoll date :interval "60s"
|
||||
:initial ""
|
||||
`date "+%A | %m-%d-%+4Y"`)
|
||||
:initial ""
|
||||
`date "+%A | %m-%d-%+4Y"`)
|
||||
|
||||
(defwidget datetime []
|
||||
(eventbox
|
||||
:tooltip date
|
||||
(label
|
||||
:class "text time"
|
||||
:text time)
|
||||
:text time)
|
||||
))
|
||||
|
||||
; CPU
|
||||
|
@ -61,7 +61,7 @@
|
|||
:tooltip hostname
|
||||
(label
|
||||
:text status-icon
|
||||
:class "network_icon")))
|
||||
:class "network_icon")))
|
||||
|
||||
; BLUETOOTH
|
||||
(defwidget bluetooth []
|
||||
|
@ -70,7 +70,7 @@
|
|||
:onclick "blueman-manager &"
|
||||
(label
|
||||
:text ""
|
||||
:class "bluetooth_icon")))
|
||||
:class "bluetooth_icon")))
|
||||
|
||||
; VOLUME
|
||||
|
||||
|
@ -87,6 +87,6 @@
|
|||
:spacing "3"
|
||||
(label
|
||||
:class "volume_text"
|
||||
:text "${volume_percent <= 33 ? "" : volume_percent <= 66 ? "" : ""} ${volume_percent}%")
|
||||
)))
|
||||
:text "${volume_percent <= 33 ? "" : volume_percent <= 66 ? "" : ""} ${volume_percent}%")
|
||||
)))
|
||||
; TODO add mic widget
|
|
@ -100,6 +100,8 @@
|
|||
ll = "eza -l";
|
||||
l = "eza -lah";
|
||||
code = "codium";
|
||||
alg = "code ~/Git/algprog/tex";
|
||||
nixos = "code ~/Git/nixos";
|
||||
};
|
||||
initExtra = ''
|
||||
function rebuild () {
|
||||
|
|
Loading…
Reference in a new issue