restyled workspaces

This commit is contained in:
2025-03-08 19:55:03 +01:00
parent 0590bcc89f
commit bd073c6dff
3 changed files with 24 additions and 23 deletions

View File

@@ -1,35 +1,36 @@
.workspaces { .workspaces {
/* Green */
$light: #bad012;
$dark: #53730a;
/* Orange */ /* Colors */
//$light: #fde10e; $ws-background: darksalmon;
//$dark: #ff6520; $ws-active: sienna;
$ws-active-border: sienna;
$ws-inactive: chocolate;
$ws-inactive-border: chocolate;
$ws-empty: coral;
$ws-empty-border: chocolate;
background: $dark;
background: $ws-background;
padding: 3px 1rem; padding: 3px 1rem;
&--ws { &--ws {
border-radius: 50%; border-radius: 50%;
font-family: 'Symbols Nerd Font Mono'; font-family: 'Symbols Nerd Font Mono';
border: 1px solid blue; border: 1px solid;
color: black;
&--label {
font-size: 0.7rem;
}
&--active { &--active {
background: $light; background: $ws-active;
color: $dark; border-color: $ws-active-border;
border-color: $light;
} }
&--inactive { &--inactive {
background: $dark; background: $ws-inactive;
color: $dark; border-color: $ws-inactive-border;
border-color: $light; }
&--empty {
background: $ws-empty;
border-color: $ws-empty-border;
} }
} }
} }

View File

@@ -18,9 +18,9 @@
:onclick "hyprctl dispatch workspace ${workspace.id}" :onclick "hyprctl dispatch workspace ${workspace.id}"
:cursor "pointer" :cursor "pointer"
:tooltip "${workspace.name}" :tooltip "${workspace.name}"
:class "workspaces--ws ${workspace.active == true ? 'workspaces--ws--active' : 'workspaces--ws--inactive'}" :class "workspaces--ws${workspace.windows > 0 ? '' : ' workspace--ws--empty'}${workspace.active == true ? ' workspaces--ws--active' : ' workspaces--ws--inactive'}"
(label (label
:class "workspaces--ws--label" :class "workspaces--ws--label"
:xalign 0.2 :xalign 0.2
:yalign 0.5 :yalign 0.5
:text "${workspace.windows > 0 ? workspaceIcons.full : workspaceIcons.empty}"))))) :text "")))))

View File

@@ -1,4 +1,4 @@
# Generated by nwg-displays on 2025-01-18 at 02:07:11. Do not edit manually. # Generated by nwg-displays on 2025-03-08 at 19:18:14. Do not edit manually.
monitor=DP-2,1920x1080@60.0,0x0,1.0 monitor=DP-2,1920x1080@60.0,0x0,1.0
monitor=DP-3,1920x1080@144.0,1920x0,1.0 monitor=DP-3,1920x1080@144.0,1920x0,1.0