working on eww

This commit is contained in:
2026-03-11 17:02:31 +01:00
parent ca5588d248
commit dc946a1c39
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
}
window {
background-color: rgba(30, 30, 46, 0.9); /* --base with transparency */
background-color: rgba(30, 30, 46, 0.9);
border-radius: 8px;
padding: 0;
margin: 0;
+4 -2
View File
@@ -1,6 +1,6 @@
;; Main bar widget
(defwidget bar []
(box :class "bar" :orientation "h" :space-evenly false
(box :class "bar" :orientation "h" :space-evenly false :font "FiraCode Nerd Font 10"
;; Left: Workspaces (Hyprland)
(box :class "workspaces" :orientation "h"
(label :class "workspace" :id "workspace_1" :text "1")
@@ -10,6 +10,8 @@
(label :class "workspace" :id "workspace_5" :text "5")
)
;; Center: Empty (placeholder for alignment)
(box :halign "center" :hexpand true)
@@ -63,7 +65,7 @@
(if (string-empty? network-essid)
(eww update network_label="Disconnected !eww reload
")
(eww update network_label=(strfmt " ({}%)" network-essid)))
(eww update network_label=(strfmt "W ({}%)" network-essid)))
;; Update clock
(eww update clock_label=(strftime "%a, %d %b %Y - %H:%M"))