Compare commits

..

No commits in common. "20e0792b92bbba1e383c4e52d989d0c4b7e6a962" and "e79e9fca82c4d2f13690590506eef2bf884f07bf" have entirely different histories.

3 changed files with 19 additions and 23 deletions

View file

@ -5,21 +5,19 @@
(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

View file

@ -4,22 +4,22 @@
(defvar GB 1024000000)
(defvar MB 1024000)
; 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

View file

@ -100,8 +100,6 @@
ll = "eza -l";
l = "eza -lah";
code = "codium";
alg = "code ~/Git/algprog/tex";
nixos = "code ~/Git/nixos";
};
initExtra = ''
function rebuild () {