Compare commits

..

2 commits

Author SHA1 Message Date
20e0792b92
add shell aliases 2024-03-27 07:06:01 +01:00
9f71386f7f
align yuck 2024-03-27 07:04:40 +01:00
3 changed files with 23 additions and 19 deletions

View file

@ -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

View file

@ -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

View file

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