initial commit, currently just has idle w/out pet

This commit is contained in:
retroactive 2024-04-02 22:22:01 +00:00
parent 3467371a61
commit f7a974fe78
25 changed files with 61 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
statusmon.yuck

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

BIN
cat_animation/cat_blink.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

BIN
cat_animation/cat_pet.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

28
eww.scss Normal file
View File

@ -0,0 +1,28 @@
* {
background-color: rgba(0, 0, 0, 0);
border: none;
color: black;
box-shadow: none;
border-color: rgba(0, 0, 0, 0);
outline-width: 0px;
border-radius: 0px;
}
window, decoration, button, image, GtkImage, GtkWidget, GtkMisc, .cat .background {
box-shadow: none;
border: none;
outline-width: 0px;
border-color: rgba(0, 0, 0, 0);
box-shadow: none;
outline-width: 0px;
margin: 0px;
padding: 0px;
outline-color: rgba(0, 0, 0, 0);
}
button {
background: none;
border: none;
box-shadow: none;
outline-width: 0px;
}

18
eww.yuck Normal file
View File

@ -0,0 +1,18 @@
(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`)

14
scripts/animate.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env fish
set ~/.config/eww/cat_animation
set IDLE_FOLDER $CAT_DIR/tailflick_frames
while true
if test (random 0 1000) = 0
for frame in $IDLE_FOLDER/*
echo $frame
sleep 0.1
end
end
sleep 0.1
end