Way to many changes, new start
This commit is contained in:
parent
63904bec07
commit
a95d18c761
25 changed files with 1799 additions and 334 deletions
48
eww.yuck
48
eww.yuck
|
@ -5,6 +5,8 @@
|
|||
;; left
|
||||
|
||||
|
||||
;; Test
|
||||
|
||||
(defwidget time []
|
||||
(eventbox
|
||||
:onclick ``
|
||||
|
@ -18,7 +20,7 @@
|
|||
;; center
|
||||
|
||||
|
||||
(defwidget workspaces [monitor]
|
||||
(defwidget normalWorkspaces [monitor]
|
||||
(box
|
||||
:space-evenly false
|
||||
:spacing 3
|
||||
|
@ -27,6 +29,7 @@
|
|||
:activeOn {workspace.normal.activeOn}
|
||||
:occupied {workspace.normal.occupied}
|
||||
:id {workspace.normal.id}
|
||||
:cmd {workspace.normal.id}
|
||||
:icon {workspace.normal.icon}
|
||||
:monitor {monitor}))))
|
||||
|
||||
|
@ -95,19 +98,19 @@
|
|||
|
||||
;; Widget blocks
|
||||
|
||||
(defwidget media []
|
||||
(box
|
||||
:class "smallBox"
|
||||
:height 20
|
||||
:valign "center"
|
||||
:space-evenly false
|
||||
:visible {media.status == "Playing" ? true : false}
|
||||
(smallSpacer)
|
||||
(label
|
||||
:text {media.name}
|
||||
:tooltip {media.name}
|
||||
:limit-width 40)
|
||||
(smallSpacer)))
|
||||
;;(defwidget media []
|
||||
;; (box
|
||||
;; :class "smallBox"
|
||||
;; :height 20
|
||||
;; :valign "center"
|
||||
;; :space-evenly false
|
||||
;; :visible {media.status == "Playing" ? true : false}
|
||||
;; (smallSpacer)
|
||||
;; (label
|
||||
;; :text {media.name}
|
||||
;; :tooltip {media.name}
|
||||
;; :limit-width 40)
|
||||
;; (smallSpacer)))
|
||||
|
||||
(defwidget processing []
|
||||
(eventbox
|
||||
|
@ -183,9 +186,22 @@
|
|||
:orientation "h"
|
||||
:space-evenly false
|
||||
:halign "center"
|
||||
(workspaces
|
||||
(workspace
|
||||
:activeOn {workspaces[0].special.activeOn}
|
||||
:occupied {workspaces[0].special.occupied}
|
||||
:id {workspaces[0].special.id}
|
||||
:icon {workspaces[0].special.icon}
|
||||
:monitor {monitor})
|
||||
))
|
||||
(seperator)
|
||||
(normalWorkspaces
|
||||
:monitor {monitor})
|
||||
(seperator)
|
||||
(workspace
|
||||
:activeOn {workspaces[1].special.activeOn}
|
||||
:occupied {workspaces[1].special.occupied}
|
||||
:id {workspaces[1].special.id}
|
||||
:icon {workspaces[1].special.icon}
|
||||
:monitor {monitor})))
|
||||
|
||||
(defwidget end []
|
||||
(box
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue