aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2022-11-05 21:21:36 -0500
committertlatorre <tlatorre@uchicago.edu>2022-11-05 21:21:36 -0500
commit51dbbaeaff14b3694f080538fc0de4924d7e26b1 (patch)
tree5513b3a1093bbdade0ffb12c172e9ba175ed36c3
parent0a406cfbee9cae0c00ca097704f06185ed4b0a13 (diff)
downloadmoji-51dbbaeaff14b3694f080538fc0de4924d7e26b1.tar.gz
moji-51dbbaeaff14b3694f080538fc0de4924d7e26b1.tar.bz2
moji-51dbbaeaff14b3694f080538fc0de4924d7e26b1.zip
add logo, desktop entry, make install, and .gitignore
-rw-r--r--.gitignore2
-rw-r--r--Circle-icons-chat.svg36
-rw-r--r--Makefile5
-rw-r--r--vito.desktop8
4 files changed, 51 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..135fa4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.swp
+vito
diff --git a/Circle-icons-chat.svg b/Circle-icons-chat.svg
new file mode 100644
index 0000000..7ddde08
--- /dev/null
+++ b/Circle-icons-chat.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:#77B3D4;}
+ .st1{opacity:0.2;}
+ .st2{fill:#231F20;}
+ .st3{fill:#FFFFFF;}
+ .st4{fill:#4F5D73;}
+</style>
+<g id="Layer_1">
+ <g>
+ <circle class="st0" cx="32" cy="32" r="32"/>
+ </g>
+ <g class="st1">
+ <path class="st2" d="M52,32c0-9.9-9-18-20-18s-20,8.1-20,18c0,9.6,8.3,17.4,18.8,17.9C31.5,53.6,32,56,32,56s5-3,9.6-8.2 C47.8,44.7,52,38.8,52,32z"/>
+ </g>
+ <g>
+ <path class="st3" d="M49,28.8C49,43.8,32,54,32,54s-9.4-42,0-42S49,19.5,49,28.8z"/>
+ </g>
+ <g>
+ <ellipse class="st3" cx="32" cy="30" rx="20" ry="18"/>
+ </g>
+ <g>
+ <circle class="st4" cx="32" cy="30" r="2"/>
+ </g>
+ <g>
+ <circle class="st4" cx="40" cy="30" r="2"/>
+ </g>
+ <g>
+ <circle class="st4" cx="24" cy="30" r="2"/>
+ </g>
+</g>
+<g id="Layer_2">
+</g>
+</svg> \ No newline at end of file
diff --git a/Makefile b/Makefile
index 158dbb6..3dd2461 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,14 @@ all: vito
CFLAGS=$(shell pkg-config --cflags gtk4) -O0 -g -Wall
LDLIBS=$(shell pkg-config --libs gtk4)
+HOME=$(shell echo ~)
vito: vito.c
gcc ${CFLAGS} -o vito vito.c ${LDLIBS}
+install: vito
+ mkdir -p ${HOME}/.config/autostart
+ cp vito.desktop ${HOME}/.config/autostart
+
clean:
rm vito
diff --git a/vito.desktop b/vito.desktop
new file mode 100644
index 0000000..1e04c2e
--- /dev/null
+++ b/vito.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Terminal=false
+Exec=$HOME/vito/vito
+Name=Vito
+Icon=$HOME/vito/Circle-icons-chat.svg