working on eww
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user