mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-06-05 23:33:42 +02:00
refactor: eww workspace active
This commit is contained in:
parent
b1b23e5257
commit
4fcdb25eec
4 changed files with 7 additions and 14 deletions
|
@ -27,18 +27,12 @@
|
|||
transition: cubic-bezier(0.165, 0.84, 0.44, 1) 600ms;
|
||||
border-radius: get-token(border-radius);
|
||||
min-height: 16px;
|
||||
background-color: $surface2;
|
||||
|
||||
&.current {
|
||||
min-height: 48px;
|
||||
|
||||
background-color: $accent;
|
||||
}
|
||||
}
|
||||
|
||||
.workspacething {
|
||||
background-color: $surface2;
|
||||
}
|
||||
|
||||
.workspacethingactive {
|
||||
background-color: $accent;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ $design-tokens: (
|
|||
large: 12px,
|
||||
),
|
||||
margin: (
|
||||
small: 2px,
|
||||
small: 4px 2px,
|
||||
default: 4px,
|
||||
large: 6px,
|
||||
),
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
:onclick "hyprctl dispatch workspace ${workspace.id}"
|
||||
|
||||
(box
|
||||
:class "workspace ${workspace.id == currentWorkspace ? "current" : "workspacething"}"))))))
|
||||
:class `workspace ${workspace.id == currentWorkspace ? "current" : ""}`))))))
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
(Logo)
|
||||
(Workspaces)
|
||||
;; (Shortcuts)
|
||||
(Shortcuts)
|
||||
))
|
||||
|
||||
(defwidget Middle []
|
||||
|
@ -38,9 +38,8 @@
|
|||
:orientation "v"
|
||||
:space-evenly false
|
||||
:valign "center"
|
||||
:height 200
|
||||
|
||||
;; (PlayerCtl)
|
||||
(PlayerCtl)
|
||||
))
|
||||
|
||||
(defwidget Bottom []
|
||||
|
@ -50,7 +49,7 @@
|
|||
:valign "end"
|
||||
|
||||
;; (systemtray)
|
||||
(Language)
|
||||
;; (Language)
|
||||
(Sliders)
|
||||
(Clock)
|
||||
;; (battery)
|
||||
|
|
Loading…
Add table
Reference in a new issue