Created
July 21, 2021 02:00
-
-
Save rudicode/c91a4ead62ad73b2bf11cb436fce5aec to your computer and use it in GitHub Desktop.
Install or update kwin script to kde 5.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script tested only on KDE 5.x | |
# install script, first time only | |
# plasmapkg2 --type kwinscript -i ~/code/kwin-scripts/RCTiler/ | |
# update script ( anytime after first install ) | |
plasmapkg2 --type kwinscript -u ~/code/kwin-scripts/RCTiler/ | |
# Disable plugin to take effect | |
kwriteconfig5 --file kwinrc --group Plugins --key RCTilerEnabled false | |
qdbus-qt5 org.kde.KWin /KWin reconfigure | |
# pause so that the reconfigure command takes effect | |
sleep 0.5 | |
# Enable plugin to take effect | |
kwriteconfig5 --file kwinrc --group Plugins --key RCTilerEnabled true | |
qdbus-qt5 org.kde.KWin /KWin reconfigure | |
# if you changed the shortcut keys they may not take effect right away if the same keys were already defined. | |
# edit ~/.config/kglobalshortcutsrc and remove any conflicting entries. | |
# you may need to logout and then edit that above file and then log back in. | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment