Comments
This commit is contained in:
parent
5699e52919
commit
4375f08c67
@ -7,6 +7,6 @@
|
|||||||
:width "${h}"
|
:width "${h}"
|
||||||
;:active true
|
;:active true
|
||||||
:text "${wifi.icon}"
|
:text "${wifi.icon}"
|
||||||
:tooltip "${wifi.name}\n${wifi.speed}"
|
:tooltip "${wifi.name} ${wifi.speed}"
|
||||||
)
|
)
|
||||||
)
|
)
|
@ -1,5 +1,6 @@
|
|||||||
;This widget and code only works for LeftWM
|
;This widget and code are specific for LeftWM
|
||||||
|
|
||||||
|
; Icons for individual tags
|
||||||
(defwidget panel_leftwm_ws_ico [h tag]
|
(defwidget panel_leftwm_ws_ico [h tag]
|
||||||
(button
|
(button
|
||||||
:halign "center"
|
:halign "center"
|
||||||
@ -9,11 +10,12 @@
|
|||||||
:active true
|
:active true
|
||||||
:class "panel_ws_ico ${tag.mine ? 'panel_ws_ico_cur' : 'panel_ws_ico_notcur'} ${tag.busy ? 'panel_ws_ico_act' : 'panel_ws_ico_inact'}"
|
:class "panel_ws_ico ${tag.mine ? 'panel_ws_ico_cur' : 'panel_ws_ico_notcur'} ${tag.busy ? 'panel_ws_ico_act' : 'panel_ws_ico_inact'}"
|
||||||
:onclick "leftwm-command \"SendWorkspaceToTag 0 ${tag.index}\""
|
:onclick "leftwm-command \"SendWorkspaceToTag 0 ${tag.index}\""
|
||||||
:timeout "1s"
|
:timeout "300ms"
|
||||||
{tag.mine ? '' : tag.busy ? '' : ''}
|
{tag.mine ? '' : tag.busy ? '' : ''}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
; LeftWM work-space widget showing all tags
|
||||||
(defwidget panel_ws_leftwm [h]
|
(defwidget panel_ws_leftwm [h]
|
||||||
(box
|
(box
|
||||||
:class "panel_workspaces_widg"
|
:class "panel_workspaces_widg"
|
||||||
@ -23,10 +25,7 @@
|
|||||||
:active true
|
:active true
|
||||||
|
|
||||||
(for tag in '${leftwm_state.workspaces[0].tags}'
|
(for tag in '${leftwm_state.workspaces[0].tags}'
|
||||||
(panel_leftwm_ws_ico
|
(panel_leftwm_ws_ico :h "${h}" :tag {tag})
|
||||||
:h "${h}"
|
|
||||||
:tag {tag}
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user