This commit is contained in:
elkowar 2021-05-06 17:14:36 +02:00
parent f06c064719
commit 9c89c99b60
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,6 @@
<eww>
<includes>
<file path="./foo.xml"/>
</includes>
<definitions>
@ -28,6 +29,7 @@
<label text="&lt; &gt; bruh &quot;"/>
@ -39,11 +41,12 @@
<if-else cond="{{shit == 'yea'}}">
<box>hi</box>
<box>ho</box>
</if-else>
{{EWW_RAM}} {{EWW_DISK}} {{EWW_BATTERY}} {{EWW_CPU]}} {{EWW_NET_UP}} {{EWW_NET_DOWN}}
{{EWW_RAM}} {{EWW_DISK}} {{EWW_BATTERY}} {{EWW_CPU]}} {{EWW_NET}}
{{EWW_CORES}}
<scale value="50" orientation="v" min="0" max="100" flipped="true" />
@ -62,6 +65,7 @@
<def name="multiple">
<box orientation="v" space-evenly="false">
<box>{{text}}test</box>
<box class="whatever lol">{{text}}</box>
<box style="color: blue;">{{text}}</box>
<box>{{text}}</box>

View file

@ -276,6 +276,7 @@ myStartupHook = do
spawnOnce "mailnag"
spawnOnce "flameshot"
spawn "flashfocus"
spawnOnce "dunst"
for_ ["led1", "led2"] $ \led -> safeSpawn "sudo" ["liquidctl", "set", led, "color", "fixed", "00ffff"]
withDisplay $ \dpy -> do
r <- asks theRoot