New backup 2025-09-01 03:15:02

This commit is contained in:
Penelope Gwen 2025-09-01 03:15:02 -07:00
parent 668f12f681
commit f739f2fa0b
2 changed files with 36 additions and 12 deletions

View file

@ -1,5 +1,5 @@
(deflisten active_profile "scripts/bar/profile") (deflisten active_profile "scripts/bar/profile")
(defwidget profile [] (defwidget profile []
(button :onclick "sp-profiles next" (button :onclick "sp-profiles next"
:class "profile" :class "profile ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-school' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}"
{active_profile})) {active_profile}))

View file

@ -75,12 +75,34 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
}*/ }*/
.profile { .profile {
margin: 0px; margin-left: 10px;
font-size: 0.75em; font-size: 0.95em;
font-weight: bold;
border: 2px solid $bar-bg-color;
border-right: 0px solid transparent;
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
color: $bar-bg-color;
&.profile-personal {
color: $bar-bg-color;
border-color: $bar-bg-color;
}
&.profile-development {
color: mix($color9, $color12);
border-color: mix($color9, $color12);
}
&.profile-school {
color: mix($color5, $color3);
border-color: mix($color5, $color3);
}
&.profile-work {
color: mix($color5, $color4, 30%);
border-color: mix($color5, $color4, 30%);
}
} }
.workspaces { .workspaces {
margin: 0px 5px; margin: 0px 0px;
box.ws-center { box.ws-center {
>box>button { >box>button {
background-color: $bar-bg-color; background-color: $bar-bg-color;
@ -93,20 +115,22 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
}*/ }*/
} }
border: 2px solid $bar-bg-color; border: 2px solid $bar-bg-color;
border-radius: $bar-module-border-radius; border-left: 0px solid transparent;
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
revealer { revealer {
&.ws-left { &.ws-left {
// padding-left: 5px; // padding-left: 5px;
>box>box { >box>box {
// background-color: rgba($bar-bg-color,0.5); // background-color: rgba($bar-bg-color,0.5);
color: $bar-bg-color; color: $bar-bg-color;
&:not(:first-child){ // &:not(:first-child){
// &:not(:first-child){
border-left: 2px solid $bar-bg-color; border-left: 2px solid $bar-bg-color;
// margin-left: 2px; // margin-left: 2px;
} // }
&:first-child { // &:first-child {
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius; // border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
} // }
} }
} }
&.ws-right { &.ws-right {
@ -136,13 +160,13 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
// box-shadow: 3px 0 2px -1px $bar-module-fg-color; // box-shadow: 3px 0 2px -1px $bar-module-fg-color;
} }
label { label {
padding: 4px 6px; padding: 2px 6px;
margin-right: -10px; margin-right: -10px;
} }
.workspace-number { .workspace-number {
margin: 0px; margin: 0px;
margin-left: 2px; margin-left: 2px;
margin-top: -15px; margin-top: -7px;
padding: 0px; padding: 0px;
font-size: 0.6em; font-size: 0.6em;
} }