New backup 2025-07-18 13:45:02

This commit is contained in:
Penelope Gwen 2025-07-18 13:45:02 -07:00
parent 373efcd7fa
commit 67c545d031
3 changed files with 8 additions and 5 deletions

View file

@ -310,6 +310,9 @@ $home-widget-border-color: rgba($color5,1);
color: $home-widget-subtitle-color;
}
}
.revealer-title {
background-color: $home-widget-border-color;
}
.notes {
background-color: $home-widget-bg-color;
color: $home-button-fg-color;

View file

@ -5,17 +5,17 @@
(defvar reveal_notes true)
(defwidget notes_revealer []
(revealer-on-press
; :orientation "v"
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
:revealvar reveal_notes
:revealvar-name "reveal_notes"
(label :width 300
:text "press")
:class "reavealer-title"
:text "Notes ${reveal_notes ? '' : ''}")
; {reveal_notes ? "" : ""}
(notes :json {jq(notes_list,'.notes')})))
(defwidget notes [json]
(box
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
:class "notes"
:orientation "v"
:halign "baseline"

View file

@ -1,13 +1,13 @@
(defwidget revealer-on-press [revealvar revealvar-name ?class ?duration ?transition]
(box
:class "${class} revealer-on-press"
:orientation "v"
:space-evenly false
:space-evenly true
(eventbox
:onclick '${EWW_CMD} update ${revealvar-name}=${revealvar ? "false" : "true"}'
; :onhover "${EWW_CMD} update ${revealvar-name}=true"
; :onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
(box
:orientation "vertical"
:space-evenly false
(children :nth 0)
(revealer