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;
// margin: 0px 3px;
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 {
// 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-radius: $home-widget-border-radius;
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 {
}*/

View file

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

View file

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