mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +00:00
fix some wrong eww config
This commit is contained in:
parent
a83eac15ab
commit
94b2ceab01
1 changed files with 6 additions and 3 deletions
|
@ -10,8 +10,8 @@
|
|||
:class "segment-bottom"
|
||||
(bottom :screen screen))))
|
||||
|
||||
(defwidget top []
|
||||
(workspaces :wsp_yuck {screen == 0 ? workspaces_0_yuck : screen == 1 ? workspaces_1_yuck : workspaces_2_yuck}))
|
||||
(defwidget top [screen]
|
||||
(workspaces :wsp_yuck {screen == 1 ? workspaces_1_yuck : workspaces_2_yuck}))
|
||||
|
||||
(defwidget workspaces [wsp_yuck]
|
||||
(literal :content wsp_yuck))
|
||||
|
@ -89,7 +89,10 @@
|
|||
|
||||
(deflisten music_data
|
||||
:initial `{"status": ""}`
|
||||
`playerctl --follow metadata --format '{ "status": "{{status}}", "artist": "{{artist}}", "title": "{{title}}"}'`)
|
||||
`
|
||||
playerctl metadata || echo '{"status": ""}';
|
||||
playerctl --follow metadata --format '{ "status": "{{status}}", "artist": "{{artist}}", "title": "{{title}}"}'
|
||||
`)
|
||||
|
||||
(defpoll hour :interval "1s" "date +%H")
|
||||
(defpoll min :interval "1s" "date +%M")
|
||||
|
|
Loading…
Reference in a new issue