KDE Plasma plasmoid for supergfxctl
Built as a C++/QML Plasmoid
- Graphics mode switching
- dGPU power indication
- Dynamic plasmoid logo, tooltip, status
- Filter available switches
- Display dbus error message
- Revert change
dnf copr enable jhyub/supergfxctl-plasmoid
dnf install supergfxctl-plasmoid
# Arch
sudo pacman -Syu cmake extra-cmake-modules gcc hicolor-icon-theme kcoreaddons kconfig ki18n kirigami ksvg libplasma qt6-base qt6-declarative solid
# Fedora
sudo dnf install cmake extra-cmake-modules gcc-c++ kf6-kconfig-devel kf6-ki18n-devel kf6-kirigami-devel kf6-ksvg-devel kf6-solid-devel libplasma-devel qt6-qtbase-devel qt6-qtdeclarative-devel
# Ubuntu (unsupported)
sudo apt install -y cmake extra-cmake-modules g++ kf6-kconfig-dev kf6-ki18n-dev kf6-kirigami-dev kf6-ksvg-dev kf6-solid-dev libplasma-dev qt6-base-dev qt6-declarative-dev
git clone https://gitlab.com/Jhyub/supergfxctl-plasmoid
cd supergfxctl-plasmoid
git checkout [LATEST VERSION TAG HERE]
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT6=ON ..
make
sudo make install # or any other elevation tool
# Reload plasma for change to take effect
plasmashell --replace &
Some files under ./icons/status are from or derived from asusctl-gex, which is distributed under the Mozilla Public License 2.0. The following is an exhaustive list of files.
supergfxctl-plasmoid-dgpu-active.svg
supergfxctl-plasmoid-dgpu-off.svg
supergfxctl-plasmoid-dgpu-suspended.svg
supergfxctl-plasmoid-gpu-asusmuxdiscrete.svg
supergfxctl-plasmoid-gpu-asusmuxdiscrete-active.svg
supergfxctl-plasmoid-gpu-copute.svg
supergfxctl-plasmoid-gpu-compute-active.svg
supergfxctl-plasmoid-gpu-egpu.svg
supergfxctl-plasmoid-gpu-egpu-active.svg
supergfxctl-plasmoid-gpu-hybrid.svg
supergfxctl-plasmoid-gpu-hybrid-active.svg
supergfxctl-plasmoid-gpu-integrated.svg
supergfxctl-plasmoid-gpu-integrated-active.svg
supergfxctl-plasmoid-gpu-vfio.svg
supergfxctl-plasmoid-gpu-vfio-active.svg