Updates and fixes
Some checks failed
Nix Build / build-nixos (push) Failing after 13s

This commit is contained in:
soraefir
2024-05-18 07:55:03 +02:00
parent bf0aa63936
commit 4ea8a40dbd
10 changed files with 83 additions and 66 deletions

View File

@ -17,7 +17,8 @@ calendar {
font-weight: bold;
}
.button {
label {
font-size: 20pt;
color: $base0C;
}
@ -35,9 +36,6 @@ calendar {
margin-top: -4pt;
}
.minute, .hour, .day, .month {
font-size: 20pt;
}
.date {
color: $base0C;
@ -47,5 +45,4 @@ calendar {
.datetime {
padding: $gaps-window;
}

View File

@ -10,10 +10,14 @@
(overlay
(box
:orientation "v"
(button
:class "hour" hour)
(button
:class "minute" minute))
(button
:class "hour"
(label :show-truncated false
:text {hour}))
(button
:class "minute"
(label :show-truncated false
:text {minute})))
(revealer
:reveal date_rev
(box
@ -22,11 +26,15 @@
(button
:onclick "${EWW_CMD} open --toggle calendar"
:onrightclick "${EWW_CMD} open --toggle powermenu"
:class "day" day)
:class "day"
(label :show-truncated "false"
:text {day}))
(button
:onclick "${EWW_CMD} open --toggle calendar"
:onrightclick "${EWW_CMD} open --toggle powermenu"
:class "month" month))
:class "month"
(label :show-truncated "false"
:text {month})))
)
)
)

View File

@ -11,6 +11,7 @@
(button
:onclick "hyprctl dispatch workspace ${ws.number}"
(label
:show-truncated false
:class "icon-text ${ws.color}"
:text `${ws.focused ? "󰜗" : "󰝥"}`
)

View File

@ -64,7 +64,7 @@ done
generate
# main loop
socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | rg --line-buffered "workspace|mon(itor)?" | while read -r line; do
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | rg --line-buffered "workspace|mon(itor)?" | while read -r line; do
case ${line%>>*} in
"workspace")
focusedws=${line#*>>}

View File

@ -101,7 +101,10 @@
:orientation "v"
(button
:onclick "${EWW_CMD} open --toggle --no-daemonize radio"
(label :class "icon-text" :text "󰝚")
(label
:show-truncated false
:class "icon-text"
:text "󰝚")
)
)
)