TinyPedal
TinyPedal copied to clipboard
new install script with various tweaks
hello,
since KDE 6 i had graphical issues and because of PySide 2 relying on outdated dependencies it needs to run in a virtual env.
i made a new install script that manages the installation of the venv automatically, but for me that didnt resolved the graphical issues. the script also allows to rewrite the TinyPedal files to use PySide6.This allows running TinyPedal with latest Python. using PySide6 you need to use QT_QPA_PLATFORM=xcb flag to be able to move the widgets using Wayland wich i added to TinyPedal.sh. on KDE 6 desktops the dependencies for tinypedal usually already installed and graphical issues went away.the scaling of the widgets changed slightly for me (they are bigger, but they where too small before). installation destination and sudo rights all managed by the script. do not run the script itself with sudo.
installing dependencies when using PySide2 with venv is automatically done trough the script.
using a custom installation path is still possible, script doesnt know that its installed after installation so script wont allow to setup venv/ switch to PySide6. solution would be to write the path into a config file stored somewhere