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 {
/* Green */
$light: #bad012;
$dark: #53730a;
/* Colors */
$ws-background: darksalmon;
$ws-active: sienna;
$ws-active-border: sienna;
$ws-inactive: chocolate;
$ws-inactive-border: chocolate;
$ws-empty: coral;
$ws-empty-border: chocolate;
/* Orange */
//$light: #fde10e;
//$dark: #ff6520;
background: $dark;
background: $ws-background;
padding: 3px 1rem;
&--ws {
border-radius: 50%;
font-family: 'Symbols Nerd Font Mono';
border: 1px solid blue;
color: black;
border: 1px solid;
&--label {
font-size: 0.7rem;
}
&--active {
background: $light;
color: $dark;
border-color: $light;
background: $ws-active;
border-color: $ws-active-border;
}
&--inactive {
background: $dark;
color: $dark;
border-color: $light;
background: $ws-inactive;
border-color: $ws-inactive-border;
}
&--empty {
background: $ws-empty;
border-color: $ws-empty-border;
}
}
}

View File

@@ -18,9 +18,9 @@
:onclick "hyprctl dispatch workspace ${workspace.id}"
:cursor "pointer"
: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
:class "workspaces--ws--label"
:xalign 0.2
: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-3,1920x1080@144.0,1920x0,1.0