mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +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"
|
:class "segment-bottom"
|
||||||
(bottom :screen screen))))
|
(bottom :screen screen))))
|
||||||
|
|
||||||
(defwidget top []
|
(defwidget top [screen]
|
||||||
(workspaces :wsp_yuck {screen == 0 ? workspaces_0_yuck : screen == 1 ? workspaces_1_yuck : workspaces_2_yuck}))
|
(workspaces :wsp_yuck {screen == 1 ? workspaces_1_yuck : workspaces_2_yuck}))
|
||||||
|
|
||||||
(defwidget workspaces [wsp_yuck]
|
(defwidget workspaces [wsp_yuck]
|
||||||
(literal :content wsp_yuck))
|
(literal :content wsp_yuck))
|
||||||
|
@ -89,7 +89,10 @@
|
||||||
|
|
||||||
(deflisten music_data
|
(deflisten music_data
|
||||||
:initial `{"status": ""}`
|
: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 hour :interval "1s" "date +%H")
|
||||||
(defpoll min :interval "1s" "date +%M")
|
(defpoll min :interval "1s" "date +%M")
|
||||||
|
|
Loading…
Reference in a new issue