-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9301da3
commit c8958c3
Showing
16 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Made by glreno on GitHub | ||
|
||
The image files are ancient public domain. The Java code for v.1.0 is (c) 2010 Werner Randelhofer. The Java code for v.2.0 (c) 2019 Gerald Reno | ||
|
||
Added to pi-apps by Lenni (@lenni_builder on Discord) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
The ever popular kitty-that-follows-your-mouse-pointer toy. | ||
|
||
Neko is Japanese for cat. According to Wikipedia it was originally written for the NEC PC-9801. | ||
|
||
There are many many versions. Generally it is considered Public Domain software, so I am placing my fork under the Unlicense. | ||
|
||
This fork is based on Werner Randelshofer's Java port. | ||
|
||
(From the GitHub repo) | ||
|
||
To run: Menu > Accessories > Oneko | ||
To run in a temrinal: Oneko | ||
|
||
You have the option to create an autostart shortcut when installing. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
install_packages oneko || error "Failed to install oneko!" | ||
|
||
echo "[Desktop Entry] | ||
Type=Application | ||
Version=1.0 | ||
Name=Oneko | ||
Comment=Catch the mouse | ||
Comment[de]=Fang die Maus | ||
Icon=$(dirname "$0")/icon-64.png | ||
Exec=oneko | ||
Encoding=UTF-8 | ||
Terminal=false | ||
Categories=Utility;" | sudo tee /usr/share/applications/oneko.desktop | ||
|
||
# Autostart shortcut | ||
response=$(yad --title "oneko installer" --text "Do you want to create an autostart shortcut for oneko? If not you will have to launch it from the start menu." --button="Yes":0 --button="No":1) | ||
|
||
if [ $? -eq 0 ]; then | ||
echo "Adding autostart shortcut to ~/.config/autostart/oneko.desktop..." | ||
echo "[Desktop Entry] | ||
Type=Application | ||
Version=1.0 | ||
Name=Oneko | ||
Comment=Catch the mouse | ||
Comment[de]=Fang die Maus | ||
Icon=$(dirname "$0")/icon-64.png | ||
Exec=oneko | ||
Encoding=UTF-8 | ||
Terminal=false | ||
Categories=Utility;Game;" | tee ~/.config/autostart/oneko.desktop | ||
echo "Oneko will be started the next time you reboot your Raspberry Pi." | ||
else | ||
echo "Adding no autostart shortcut." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
purge_packages || error "Failed to uninstall oneko!" | ||
|
||
sudo rm -rf /usr/share/applications/oneko.desktop || error "Failed to remove shortcuts!" | ||
rm -rf ~/.config/autostart/oneko.desktop || echo "Failed to remove autostart entry, probably because it wasn't added." | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://github.com/glreno/oneko |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Made by glreno on GitHub | ||
|
||
The image files are ancient public domain. The Java code for v.1.0 is (c) 2010 Werner Randelhofer. The Java code for v.2.0 (c) 2019 Gerald Reno | ||
|
||
Added to pi-apps by Lenni (@lenni_builder on Discord) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
The ever popular kitty-that-follows-your-mouse-pointer toy. | ||
|
||
Neko is Japanese for cat. According to Wikipedia it was originally written for the NEC PC-9801. | ||
|
||
There are many many versions. Generally it is considered Public Domain software, so I am placing my fork under the Unlicense. | ||
|
||
This fork is based on Werner Randelshofer's Java port. | ||
|
||
(From the GitHub repo) | ||
|
||
To run: Menu > Accessories > Oneko | ||
To run in a temrinal: Oneko | ||
|
||
You have the option to create an autostart shortcut when installing. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
install_packages oneko || error "Failed to install oneko!" | ||
|
||
echo "[Desktop Entry] | ||
Type=Application | ||
Version=1.0 | ||
Name=Oneko | ||
Comment=Catch the mouse | ||
Comment[de]=Fang die Maus | ||
Icon=$(dirname "$0")/icon-64.png | ||
Exec=oneko | ||
Encoding=UTF-8 | ||
Terminal=false | ||
Categories=Utility;" | sudo tee /usr/share/applications/oneko.desktop | ||
|
||
# Autostart shortcut | ||
response=$(yad --title "oneko installer" --text "Do you want to create an autostart shortcut for oneko? If not you will have to launch it from the start menu." --button="Yes":0 --button="No":1) | ||
|
||
if [ $? -eq 0 ]; then | ||
echo "Adding autostart shortcut to ~/.config/autostart/oneko.desktop..." | ||
echo "[Desktop Entry] | ||
Type=Application | ||
Version=1.0 | ||
Name=Oneko | ||
Comment=Catch the mouse | ||
Comment[de]=Fang die Maus | ||
Icon=$(dirname "$0")/icon-64.png | ||
Exec=oneko | ||
Encoding=UTF-8 | ||
Terminal=false | ||
Categories=Utility;Game;" | tee ~/.config/autostart/oneko.desktop | ||
echo "Oneko will be started the next time you reboot your Raspberry Pi." | ||
else | ||
echo "Adding no autostart shortcut." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
purge_packages || error "Failed to uninstall oneko!" | ||
|
||
sudo rm -rf /usr/share/applications/oneko.desktop || error "Failed to remove shortcuts!" | ||
rm -rf ~/.config/autostart/oneko.desktop || echo "Failed to remove autostart entry, probably because it wasn't added." | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://github.com/glreno/oneko |