https://bugs.kde.org/show_bug.cgi?id=464322
Jep <bross...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bross...@gmail.com --- Comment #6 from Jep <bross...@gmail.com> --- I've created a mini script in fish that uses kwriteconfig5 to modify kwinrc. The script is: #!/usr/bin/env fish # Lista de nombres de efectos set efectos kwin4_effect_incinerateEnabled kwin4_effect_scaleEnabled kwin4_effect_squashEnabled glideEnabled kwin4_effect_energize_aEnabled kwin4_effect_energize_bEnabled kwin4_effect_doomEnabled kwin4_effect_glitchEnabled kwin4_effect_hexagonEnabled kwin4_effect_pixel_wheelEnabled kwin4_effect_pixel_wipeEnabled kwin4_effect_pixelateEnabled kwin4_effect_tvEnabled kwin4_effect_wispsEnabled fallapartEnabled # Elegir un nombre de efecto al azar set elegido (random choice $efectos) # Agregar todos los efectos como falsos primero for efecto in $efectos kwriteconfig5 --file /home/jbd/.config/kwinrc --group Plugins --key $efecto false end # Sobrescribir el efecto elegido como verdadero kwriteconfig5 --file /home/jbd/.config/kwinrc --group Plugins --key $elegido true qdbus-qt5 org.kde.KWin /KWin reconfigure # Opcional: Imprimir el efecto elegido y su estado echo "Efecto $elegido establecido en true." in # Lista de nombres de efectos I have all the names of all the effects I have installed in my KDE, with the name that appears in kwinrc (in my installation it is in /home/jbd/.config/kwinrc under the Plugins section), then I choose one in elegido. After that I loop for all the effects to set them to false, and then write the chosen one (elegido) in Kwinrc. Finally I do qdbus-qt5 org.kde.KWin /KWin reconfigure to update kwin with the new effect (the problem is that there is a blink of the screen when I do that). After checking that the script works, I've installed it in my user crontab to be run every 10 minutes -- You are receiving this mail because: You are watching all bug changes.