New backup 2025-08-30 19:45:01

This commit is contained in:
Penelope Gwen 2025-08-30 19:45:01 -07:00
parent 147e580bf1
commit 500672b4ae
2 changed files with 13 additions and 1 deletions

View file

@ -8,10 +8,13 @@
(include "modules/bar/revealer-on-hover.yuck")
(include "modules/bar/metric.yuck")
;widget scripts
;(deflisten active_profile_name "scripts/bar/profile-name")
;centerbar groups
(defwidget leftgroup []
(box :class "leftgroup ${((activeWorkspace < '11') ? 'profile-work' : '')}" :orientation "h" :space-evenly false :halign "start"
(box :class "leftgroup ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-school' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}" :orientation "h" :space-evenly false :halign "start"
(powermenu)
(profile)
(workspaces :array workspacesArray)

View file

@ -52,6 +52,15 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
}
}
.profile-personal {
background-color: $bar-bg-color;
}
.profile-development {
background-color: mix($color9, $color12);
}
.profile-school {
background-color: mix($color5, $color3);
}
.profile-work {
background-color: mix($color5, $color12);
}