KWin script that automatically switches the default browser based on KDE Activity.
- KDE Plasma 6
- dbus-app-launcher for executing xdg-settings
make install- System Settings → Window Management → KWin Scripts
- Enable "Activity Browser Switcher"
- Click the configure button
- Enter Activity UUID and browser
- To get current Activity UID, execute:
qdbus6 org.kde.ActivityManager /ActivityManager/Activities CurrentActivity
- To get current Activity UID, execute:
make uninstall