mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-09-13 18:44:49 +00:00
Temporarily re-add eww
This commit is contained in:
parent
aedbfed456
commit
4dcf5244cf
49 changed files with 1731 additions and 1 deletions
21
home/.config/eww/modules/workspaces.yuck
Normal file
21
home/.config/eww/modules/workspaces.yuck
Normal file
|
@ -0,0 +1,21 @@
|
|||
; (defwidget sep []
|
||||
; (label :class "separ module" :text "|"))
|
||||
|
||||
|
||||
; Consider making the window name clickable, opening up a full window that's showing
|
||||
; the selected window details (class, unformatted name, and perhaps even more, like
|
||||
; xwayland status, ...)
|
||||
(defwidget workspaces_module []
|
||||
(box
|
||||
:class "module workspaces"
|
||||
|
||||
(for workspace in workspaces
|
||||
(eventbox
|
||||
:class {workspace.active ? 'focused' : workspace.windows > 0 ? 'active' : 'inactive'}
|
||||
:onclick `scripts/workspaces --switch ${workspace.id}`
|
||||
|
||||
(label
|
||||
:class "value icon"
|
||||
:text {workspace.format_name}))
|
||||
)
|
||||
))
|
Loading…
Add table
Add a link
Reference in a new issue