feat(sidebar): add task list
This commit is contained in:
parent
d7186976a8
commit
80cc22804b
@ -49,9 +49,9 @@
|
||||
(: s.sb :setup
|
||||
{:layout wibox.layout.align.vertical
|
||||
1 {1 (border (tag-list s))
|
||||
;; 2 (task-list s)
|
||||
:layout wibox.layout.fixed.vertical}
|
||||
2 nil
|
||||
2 {1 (border (center (task-list s)) 4)
|
||||
:layout wibox.layout.flex.vertical}
|
||||
3 {1 (center systray)
|
||||
2 (center battery.widget)
|
||||
3 {1 (border
|
||||
|
@ -3,6 +3,7 @@
|
||||
;;; Code:
|
||||
|
||||
(local awful (require :awful))
|
||||
(local wibox (require :wibox))
|
||||
|
||||
;;;
|
||||
;; Functions
|
||||
@ -10,9 +11,11 @@
|
||||
(fn task-list [s]
|
||||
(awful.widget.tasklist
|
||||
s
|
||||
awful.widget.tasklist.filter.currenttags
|
||||
awful.widget.tasklist.filter.minimizedcurrenttags
|
||||
{}
|
||||
{:disable_task_name true}
|
||||
awful.widget.common.list_update
|
||||
(wibox.layout.fixed.vertical)
|
||||
))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user