Skip to content

Commit

Permalink
Remove assets directory and replace icon with vector
Browse files Browse the repository at this point in the history
  • Loading branch information
wins1ey committed Mar 24, 2024
1 parent 260e817 commit 60ec7cc
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ LDFLAGS := `pkg-config --libs gtk+-3.0 x11 jansson lua`

SRC_DIR := ./src
OBJ_DIR := ./obj
ASSETS_DIR := ./assets

# Obtain list of source files and create list of object files
SOURCES := $(wildcard $(SRC_DIR)/*.c)
Expand Down Expand Up @@ -46,9 +45,9 @@ last-gtk.h: $(SRC_DIR)/last-gtk.css

install:
cp $(TARGET) $(BIN_DIR)/$(BIN)
cp $(ASSETS_DIR)/$(APP) $(APP_DIR)
cp $(APP) $(APP_DIR)
for size in 16 22 24 32 36 48 64 72 96 128 256 512; do \
convert assets/$(ICON).png -resize "$$size"x"$$size" \
convert $(ICON).svg -resize "$$size"x"$$size" \
$(ICON_DIR)/"$$size"x"$$size"/apps/$(ICON).png ; \
done
gtk-update-icon-cache -f -t $(ICON_DIR)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# LAST <img src="assets/last.png" width=32> Linux Auto Splitting Timer
# LAST <img src="https://github.com/wins1ey/LAST/assets/34382191/e81414b0-38b5-495f-ac9f-7510edd70547" width=32> Linux Auto Splitting Timer

LAST brings auto splitting functionality to [urn](https://github.com/3snowp7im/urn) with Lua-based auto splitters that are easy to port from asl.

<img src="assets/theme-1.png" width=350> <img src="assets/theme-2.png" width=350>
<img src="https://github.com/wins1ey/LAST/assets/34382191/2adfdae5-9a21-4bdf-a4c4-f1d5962a0b63" width=350>
<img src="https://github.com/wins1ey/LAST/assets/34382191/4455f57a-3d34-4fa3-9dff-2b342b6c56da" width=350>

## Features

Expand Down
Binary file removed assets/last.png
Binary file not shown.
Binary file removed assets/theme-1.png
Binary file not shown.
Binary file removed assets/theme-2.png
Binary file not shown.
File renamed without changes.
365 changes: 365 additions & 0 deletions last.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 60ec7cc

Please sign in to comment.