anipy-dmenu
is a Python 3.10 program that lets you watch anime with dmenu.
It uses anipy-cli to interact with gogoanime to get the anime, mpv to play the anime, and dmenu-python to interact with dmenu.
You will need to have dmenu installed. If you don't, you can install it via the makefile. For the other dependencies, install them via the makefile as root.
To install dmenu, you have to build it from source. If you already have dmenu installed on your system, you can skip this step. If you do not have it installed, you can install Luke Smith's version by running command below as root:
make dmenu
In order to change any of the settings in dmenu, you will have to edit /usr/local/src/dmenu/config.h
and then recompile and reinstall it with sudo make clean install
.
make arch-dependencies
make gentoo-dependencies
This installs all of the Python dependencies needed to run this script from PyPI. You should run this as the user that will be running this script.
make dependencies
Just run this command as root:
make install
You can now run this by using anipy-dmenu
Just run
make uninstall
as root.
After install, anipy-dmenu can be used though dmenu itself, assuming you are using dwm.
Most command are prefixed with apd
, which stands for AniPy-Dmenu.
anipy-dmenu
- This lets you use dmenu to select an episode to watch.
apd-next
- This lets you watch the episode after the one previously watched.
apd-replay
- This replays the last played episode.
apd-previous
- This plays the episode before the last played episode.