diff --git a/Makefile b/Makefile index fd0a12c..eac15aa 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,12 @@ build: uwufetch.c install: sudo cp $(NAME) $(INSTALL_DIR)$(NAME) - ls ~/.config/uwufetch 1> /dev/null || mkdir ~/.config/uwufetch/ - cp res/* ~/.config/uwufetch/ + ls /usr/lib/uwufetch/ > /dev/null || sudo mkdir /usr/lib/uwufetch/ + sudo cp res/* /usr/lib/uwufetch/ uninstall: sudo rm $(INSTALL_DIR)$(NAME) - rm -rf ~/.config/uwufetch + sudo rm -rf /usr/lib/uwufetch/ debug: build install clear diff --git a/uwufetch.c b/uwufetch.c index 7bacdfb..8d63bab 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -190,9 +190,8 @@ void print_ascii() { // prints logo (as ascii art) of the given system. distribu } } void print_image() { // prints logo (as an image) of the given system. distributions listed alphabetically. - //printf("e[1;1H\e[2J"); char command[256]; - sprintf(command, "viu -t -w 18 -h 8 $HOME/.config/uwufetch/%s.png", version_name); + sprintf(command, "viu -t -w 18 -h 8 /usr/lib/uwufetch/%s.png", version_name); system(command); if (strcmp(version_name, "arch") == 0) sprintf(version_name, "%s", "Nyarch Linuwu");