- Python 100%
| music.py | Adding comments, simplifying the start variable and fixing bug with thumbnails on YouTube | |
| nano.py | Fixing start thingy + adding some other languages | |
| README.md | Adding info about nano.py | |
| system.py | Fixing battery thingy + fixing the fake png of Arch | |
Personal collection of RPC scripts
Those scripts requires a few packages:
python3pypresence
They might also require some additional packages or modifications to make some scripts work.
Main documentation: PyPresence, "Activities" (Discord official support page, good overview)
music.py
This script shows what you're streaming (in my case in mpv from YouTube). It also shows a button for people to listen to the same thing as you and the thumbnail of the video you're watching. Currently only really works well with YouTube, but can also work with bandcamp, soundcloud, etc.
Additional packages: playerctl and mpv-mpris (or other stuff for different players)
Additional documentation: playerctl, mpris metadata specs and playerctl's git repo (with examples)
system.py
This script shows the battery and memory level of your computer as well as an image of Arch and a link to Arch Linux's website. The "elapsed" time is also the uptime of the computer.
Additional packages: None
Additional documentation: psutil
nano.py
This script shows what file you're editing using nano, in which folder, adds 2 buttons (one for viewing the repository and one for viewing the file) and also has an icon for the corresponding programming language.
Additional packages: GitPython