19 lines
602 B
Plaintext
19 lines
602 B
Plaintext
(defwindow cat
|
|
:monitor 0
|
|
:geometry (geometry :x "20px"
|
|
:y "0px"
|
|
:width "256px"
|
|
:height "256px"
|
|
:anchor "bottom left")
|
|
:stacking "bg"
|
|
:wm-ignore false
|
|
(button :onclick "notify-send 'Hello'"
|
|
(image
|
|
:path picpath
|
|
:image-width 256
|
|
:image-height 256)))
|
|
|
|
(deflisten picpath
|
|
:initial "/home/coolkid/.config/eww/cat_animation/tailflick_frames/cat_tailflick1.png"
|
|
`/home/coolkid/.config/eww/scripts/animate.sh`)
|