Kwin script that displays a read strip around the mouse. The main purpose is to help focusing attention on the zone of the screen where the pointer is located. This is an aid for improving attention-related or color perception issues when working with a computer.
Clone the repo and install the content of src/ with kpackagetool
- Plasma 5
cd /tmp
git clone https://github.com/lliurex/kwin-script-mousestrip
cd mousestrip
git checkout master_jammy
kpackagetool5 -i src/
- Plasma 6
cd /tmp
git clone https://github.com/lliurex/kwin-script-mousestrip
cd mousestrip
kpackagetool6 --type=KWin/Script -i src/
cd /tmp
git clone https://github.com/lliurex/kwin-script-mousestrip
cd mousestrip
cp -r src/ ~/.local/share/kwin/scripts/mousestrip
After enabled the visiblity of the strip is controlled with Ctrl+Meta+S (meta is also knowed as "win key").
For changes to be applied is mandatory - until implemented - to disable/enable the script.
Configuration options are available at systemsettings->window management->kwin scripts.
Available options:
- Strip height: Amount of lines for the strip, from 1 to 5. Each line is 48px.
- Strip color: Color for the strip. Light colors could have a big decrease in readability
- Strip opacity: Adjustable from 0 (transparent) to 50. High values could decrease readability
- Border height: Height of the border around the strip
- Border color: ...
- Border opacity: Adjustable from 0 (transparent) to 100 (opaque)
- Fill screen: If this option is enabled then the border will fill all the screen around the strip.
- Apply changes
Border height: 16 px. Border color: yellow. Strip color: red. Strip opacity: 30%

Border height: Fill. Border color: black. Border opacity: 50%. Strip color: black. Strip opacity: 15%


