bismuth
bismuth copied to clipboard
[FEATURE]: Shortcut key to restart Bismuth
Summary
Sometimes Bismuth does not work or stop to work suddenly. So to restart it we need to go to Settings -> Window Management -> Window Tiling -> toggle off 'Enable Window Tiling' and then re-toggle it to restart Bismuth. It is very tedious task to do.

A clear and concise description of what you want to happen
So what I suggest is to implement such a feature or assign a shortcut key which will restart Bismuth instead going through such tedious process.
OR
add a simple 'Restart' option in Bismuth's system tray icon.
A clear and concise description of any alternative solutions or features you've considered.
No response
Additional info
No response
I've solved this for my setup by creating a simple script that toggles bismuth on/off - bismuthToggle.sh.
#!/bin/sh
bismuthToggle=`kreadconfig5 --file kwinrc --group Plugins --key bismuthEnabled`
if [ $bismuthToggle = "true" ]; then
kwriteconfig5 --file kwinrc --group Plugins --key bismuthEnabled false
elif [ $bismuthToggle = "false" ]; then
kwriteconfig5 --file kwinrc --group Plugins --key bismuthEnabled true
fi
qdbus org.kde.KWin /KWin reconfigure
Then I made it executable & moved it to /bin/.
Finally, I created a simple custom shortcut to run the script in Settings --> Shortcuts --> Custom shortcuts --> Edit --> New --> Global shortcut --> Command/URL.
In the T rigger tab I selected an available keyboard shortcut, and in the action tab specified the script to run in my terminal of choice (Alacritty).
alacritty -e bismuthToggle
When I need to restart bismuth, I just toggle its status twice.