New backup 2025-07-18 14:00:02

This commit is contained in:
Penelope Gwen 2025-07-18 14:00:02 -07:00
parent 67c545d031
commit 0b4a65e7a6
3 changed files with 19 additions and 5 deletions

View file

@ -280,6 +280,7 @@ tooltip{
$home-widget-bg-color: rgba($color0,0.7);
$home-widget-border-radius: 8px;
$home-widget-title-radius: $home-widget-border-radius $home-widget-border-radius 0px 0px;
$home-button-border-radius: 6px;
$home-button-circle-border-radius: 30px;
$home-button-bg-color: rgba($color5, 0.15);
@ -288,6 +289,7 @@ $home-button-fg-color: rgba($color5,$home-button-fg-opacity);
$home-widget-subtitle-color: rgba($color7,0.6);
$home-button-hover-bg-color: rgba($color1, 0.5);
$home-widget-border-color: rgba($color5,1);
$home-widget-border-hover-color: rgba($color5,0.8);
.home {
> box {
@ -312,6 +314,19 @@ $home-widget-border-color: rgba($color5,1);
}
.revealer-title {
background-color: $home-widget-border-color;
color: $home-widget-bg-color;
padding: 2px 0px;
transition: all 0.3s;
&.open {
border-radius: $home-widget-title-radius;
}
&.closed {
border-radius: $home-widget-border-radius;
}
&:hover {
background-color: $home-widget-border-hover-color;
}
}
.notes {
background-color: $home-widget-bg-color;

View file

@ -8,8 +8,9 @@
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
:revealvar reveal_notes
:revealvar-name "reveal_notes"
(label :width 300
:class "reavealer-title"
:width 300
(label
:class "revealer-title ${reveal_notes ? 'open' : 'closed'}"
:text "Notes ${reveal_notes ? '' : ''}")
; {reveal_notes ? "" : ""}
(notes :json {jq(notes_list,'.notes')})))
@ -19,7 +20,7 @@
:class "notes"
:orientation "v"
:halign "baseline"
:width 300
; :width 300
:height 150
:space-evenly true
(for note in json

View file

@ -4,8 +4,6 @@
: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