Eww: Modularized and improved CSS
This commit is contained in:
@ -1,11 +1,6 @@
|
||||
(deflisten radio :initial '{"is_paused":1,"song":{"artist":"","song":"","image600":"https://www.radiorecord.ru/upload/stations_images/record_image600_white_fill.png"},"stations":[]}' "scripts/radio")
|
||||
(defvar radio_rev false)
|
||||
|
||||
(defwidget radio-win []
|
||||
(box
|
||||
:class "radio-win"
|
||||
(radio)))
|
||||
|
||||
(defwindow radio
|
||||
:monitor 0
|
||||
:geometry (geometry
|
||||
@ -14,10 +9,10 @@
|
||||
:anchor "bottom right"
|
||||
:width "0px"
|
||||
:height "0px")
|
||||
(radio-win))
|
||||
(window (radio-win)))
|
||||
|
||||
|
||||
(defwidget radio []
|
||||
(defwidget radio-win []
|
||||
(box
|
||||
:space-evenly false
|
||||
:orientation "h"
|
||||
@ -100,10 +95,14 @@
|
||||
)
|
||||
)
|
||||
|
||||
(defwidget radio-button []
|
||||
(button
|
||||
:onclick "${EWW_CMD} open --toggle --no-daemonize radio"
|
||||
(box
|
||||
:class "module"
|
||||
(defwidget radio-mod []
|
||||
(module
|
||||
(box
|
||||
:orientation "v"
|
||||
"")))
|
||||
(button
|
||||
:onclick "${EWW_CMD} open --toggle --no-daemonize radio"
|
||||
""
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user