mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-25 15:56:54 +02:00
fix: eww workspaces animation bug
This commit is contained in:
parent
bf192aa43f
commit
b1b23e5257
3 changed files with 11 additions and 17 deletions
|
@ -21,15 +21,17 @@
|
|||
.workspaces {
|
||||
@extend .widget;
|
||||
|
||||
padding: 12px 6px;
|
||||
|
||||
* {
|
||||
transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 600ms;
|
||||
}
|
||||
padding: 12px;
|
||||
|
||||
.workspace {
|
||||
border-radius: 6px;
|
||||
margin: 0px 6px;
|
||||
transition: cubic-bezier(0.165, 0.84, 0.44, 1) 600ms;
|
||||
border-radius: get-token(border-radius);
|
||||
min-height: 16px;
|
||||
|
||||
&.current {
|
||||
min-height: 48px;
|
||||
background-color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
.workspacething {
|
||||
|
|
Binary file not shown.
|
@ -10,19 +10,11 @@
|
|||
:space-evenly false
|
||||
:orientation "v"
|
||||
:spacing spacing-default
|
||||
:vexpand true
|
||||
|
||||
(for workspace in {workspacesJson}
|
||||
(button
|
||||
:onclick "hyprctl dispatch workspace ${workspace.id}"
|
||||
|
||||
(box
|
||||
:height 20
|
||||
:class "workspace ${workspace.id == currentWorkspace ? "workspacethingactive" : "workspacething"}"
|
||||
|
||||
(revealer
|
||||
:reveal { workspace.id == currentWorkspace}
|
||||
:transition "slidedown"
|
||||
:duration animation-duration-default
|
||||
|
||||
(box
|
||||
:height 40))))))))
|
||||
:class "workspace ${workspace.id == currentWorkspace ? "current" : "workspacething"}"))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue