Rolling eyes that follow your mouse pointer for the KDE Plasma Desktop inspired by gnome-applets/geyes and derivatives.
eyes-demo.mp4
- Themes
- QML circles with customizable colors
- Styles from other popular Rolling eyes plugins
- Custom images
- Fully customizable, from sizes down to the amount of eyes and spacing between them
- Support for vertical panels
- Python3
- python-gobject
- dbus-python
- glib2 (
gdbus
) - kconfig (
kwriteconfig6
) to toggle the KWin Script, or you can do it manually from System Settings > Window Management > KWin Scripts > Cursor Eyes - kpackage (
kpackagetool6
) to install the KWin Script from the widget, or you can install it manually following the steps below
Important
Depending on the hardware you may experience a increase on CPU usage when moving the cursor around while using this widget.
This is due to the current implementation of the widget and the KWin script polling the widget's python D-Bus service. This will be fixed by reimplementing all (or what is possible) as a cpp plugin (no ETA)
It should return to almost normal when the cursor is not moving (idle mode). Usage can be decreased by reducing the updates per second from both widget and KWin script settings.
Install the widget from the KDE Store Plasma 6 version
- Right click on the Desktop > Edit Mode > Add Widgets > Get New Widgets > Download new...
- Search for "Cursor Eyes", install and add it to your Panel/Desktop.
- Complete the setup by installing the KWin Script and starting it.
git clone https://github.com/luisbocanegra/plasma-cursor-eyes
cd plasma-cursor-eyes
./install.sh
ALTERNATIVE You can also install through the ./install-with-cmake.sh
script but requires additional dependencies (mostly intended for development/packaging)
-
Install dependencies (please let me know if I missed something)
cmake extra-cmake-modules plasma-framework
-
Install the plasmoid
./install-with-cmake.sh
Instructions to add new themes are here
- A KWin Script that reads the cursor position x times per second (default is 30)
- Widget starts a D-Bus service (python script) to store and return the cursor position
- KWin Script sends the cursor position to the D-Bus service
- Widget gets the last saved cursor position from the running D-Bus service
- When there are multiple instances of the widget only one runs the service
- Themes (images) sources are listed here
- jinliu/kdotool for reading KWin script output inspiration
- Related topic Determine when monitor is turned on or off via python dbus