This commit is contained in:
@ -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;
|
||||
|
||||
}
|
@ -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})))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@ -11,6 +11,7 @@
|
||||
(button
|
||||
:onclick "hyprctl dispatch workspace ${ws.number}"
|
||||
(label
|
||||
:show-truncated false
|
||||
:class "icon-text ${ws.color}"
|
||||
:text `${ws.focused ? "" : ""}`
|
||||
)
|
||||
|
@ -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#*>>}
|
||||
|
@ -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 "")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user