New backup 2025-07-25 17:00:07

This commit is contained in:
Penelope Gwen 2025-07-25 17:00:07 -07:00
parent c5ec670164
commit cfbe59c5a2
3 changed files with 27 additions and 17 deletions

View file

@ -392,7 +392,7 @@ $home-widget-border-hover-color: rgba($color5,0.3);
background-repeat: no-repeat; background-repeat: no-repeat;
// margin: 0px 3px; // margin: 0px 3px;
border-radius: $home-widget-border-radius; border-radius: $home-widget-border-radius;
box-shadow: inset 0 0 0px 3px $home-widget-border-color, 0px 0px 3px 3px $color0; box-shadow: inset 0 0 0px 3px $home-widget-border-color, 0px 0px 9px 0px $home-widget-bg-color;
} }
.weather { .weather {
// background-color: $home-widget-bg-color; // background-color: $home-widget-bg-color;
@ -408,7 +408,7 @@ $home-widget-border-hover-color: rgba($color5,0.3);
border: 3px solid $home-widget-border-color; border: 3px solid $home-widget-border-color;
border-radius: $home-widget-border-radius; border-radius: $home-widget-border-radius;
background-color: $home-widget-bg-color; background-color: $home-widget-bg-color;
box-shadow: 0px 0px 3px 3px $color0; box-shadow: 0px 0px 9px 0px $home-widget-bg-color;
/* &.revealer-closed { /* &.revealer-closed {
}*/ }*/

View file

@ -5,11 +5,11 @@
(defvar wsreveal false) (defvar wsreveal false)
(defwidget workspaces [array] (defwidget workspaces [array]
(box :class "bar-module" ;(box :class "bar-module"
:space-evenly false ; :space-evenly false
(button :class "profile" ; (button :class "profile"
:onclick 'sp-profiles next' ; :onclick 'sp-profiles next'
(label :text '${active_profile}')) ; (label :text '${active_profile}'))
; (box :class "chevron" ; (box :class "chevron"
; :width 32 ; :width 32
; (transform :rotate 12.5 ; (transform :rotate 12.5
@ -20,7 +20,7 @@
; :scale-x '100%' ; :scale-x '100%'
; :scale-y '100%' ; :scale-y '100%'
; (box :width 32))) ; (box :width 32)))
(windowtitle) ; (windowtitle)
(eventbox (eventbox
:onhover "${EWW_CMD} update wsreveal=true" :onhover "${EWW_CMD} update wsreveal=true"
:onhoverlost "${EWW_CMD} update wsreveal=false" :onhoverlost "${EWW_CMD} update wsreveal=false"
@ -53,7 +53,8 @@
(for entry in array (for entry in array
(literal (literal
:visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false} :visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))) :content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))
;)
; (for entry in array ; (for entry in array
; {entry.focused ? (workspace :ws entry) : ""}))) ; {entry.focused ? (workspace :ws entry) : ""})))

View file

@ -1,6 +1,6 @@
.bar { .bar {
font-size: 1.05em; font-size: 1.05em;
padding: 10px 0px 0px; padding: 10px 0px 10px;
margin: 0px 15px; margin: 0px 15px;
.leftgroup, .leftgroup,
@ -8,9 +8,12 @@
.rightgroup { .rightgroup {
background-color: $bar-bg-color; background-color: $bar-bg-color;
border-radius: $bar-module-border-radius; border-radius: $bar-module-border-radius;
border: 2px solid $bar-module-fg-color; border: 3px solid $bar-module-fg-color;
box-shadow: 0px 0px 9px 0px $bar-module-fg-color;
// &>box:not(.workspaces), // &>box:not(.workspaces),
&>box.revealer-on-hover, // &>box.revealer-on-hover,
.revealer-on-hover>widget>box>box>*,
.reveal_children>*
&>button, &>button,
&>label, &>label,
.bar-module { .bar-module {
@ -22,17 +25,23 @@
min-width: $bar-module-width; min-width: $bar-module-width;
// border: 2px solid $bar-module-fg-color; // border: 2px solid $bar-module-fg-color;
background-color: $bar-module-bg-color; background-color: $bar-module-bg-color;
// box-shadow: 4px 0 3px -2px $bar-module-fg-color;
}
&>box.revealer-on-hover:not(:last-child),
&>button,
&>label {
box-shadow: 4px 0 3px -2px $bar-module-fg-color;
} }
} }
.workspaces { .workspaces {
color: $bar-module-fg-color; color: $bar-module-fg-color;
// border-radius: $bar-module-border-radius; // border-radius: $bar-module-border-radius;
// margin: 0px 5px; margin: 0px 5px;
// min-width: $bar-module-width; // min-width: $bar-module-width;
// border: 2px solid $bar-module-fg-color; // border: 2px solid $bar-module-fg-color;
// background-color: $bar-module-bg-color; // background-color: $bar-module-bg-color;
margin-left: 5px; // margin-left: 5px;
revealer { revealer {
&.ws-left { &.ws-left {
@ -117,9 +126,9 @@
text-shadow: $bar-module-hover-shadow; text-shadow: $bar-module-hover-shadow;
} }
} }
.reveal_children>* { // .reveal_children>* {
border-left: 1px solid $bar-module-fg-color; // border-left: 1px solid $bar-module-fg-color;
} // }
.tray>widget>image, .tray>widget>image,
.scratchpad>button>image { .scratchpad>button>image {
padding: 3px 4px; padding: 3px 4px;