init workspace widg, fixed typo
This commit is contained in:
parent
5ba780343e
commit
c2cd0e7636
@ -1,3 +1,5 @@
|
|||||||
|
(include "yuck/panel/panel_widgs/panel_workspaces.yuck")
|
||||||
|
|
||||||
(defwidget panel_cen [h]
|
(defwidget panel_cen [h]
|
||||||
(box
|
(box
|
||||||
:class "panel_side panel_cen"
|
:class "panel_side panel_cen"
|
||||||
@ -6,6 +8,6 @@
|
|||||||
:width 300
|
:width 300
|
||||||
:active true
|
:active true
|
||||||
|
|
||||||
"--panel_cen--"
|
(panel_workspaces :h "${h}")
|
||||||
)
|
)
|
||||||
)
|
)
|
@ -0,0 +1,11 @@
|
|||||||
|
(defwidget panel_workspaces [h]
|
||||||
|
(box
|
||||||
|
:class "panel_workspaces_widg"
|
||||||
|
:halign "center"
|
||||||
|
:valign "center"
|
||||||
|
:height "${h}"
|
||||||
|
:active true
|
||||||
|
|
||||||
|
"--panel___cen--"
|
||||||
|
)
|
||||||
|
)
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
;WIndow managers
|
;WIndow managers
|
||||||
(defpoll leftwm_state
|
(defpoll leftwm_state
|
||||||
:insterval "300ms"
|
:interval "300ms"
|
||||||
:initial "{\"window_title\":\"None\",\"workspaces\":[{\"id\":1,\"output\":\"VGA-1\",\"h\":0,\"w\":0,\"x\":0,\"y\":0,\"layout\":\"Default\",\"index\":0,\"tags\":[{\"name\":\"1\",\"index\":0,\"mine\":false,\"visible\":false,\"focused\":false,\"urgent\":false,\"busy\":false}]}]}"
|
:initial "{\"window_title\":\"None\",\"workspaces\":[{\"id\":1,\"output\":\"VGA-1\",\"h\":0,\"w\":0,\"x\":0,\"y\":0,\"layout\":\"Default\",\"index\":0,\"tags\":[{\"name\":\"1\",\"index\":0,\"mine\":false,\"visible\":false,\"focused\":false,\"urgent\":false,\"busy\":false}]}]}"
|
||||||
`leftwm state`
|
`leftwm state`
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user