vpnui's GTK window quits the whole process on close, removing its tray icon. This KWin script registers a shortcut that minimizes the window when Cisco Secure Client is focused and closes any other window normally, so binding it to the window-close shortcut keeps vpnui in the tray.
14 lines
425 B
JSON
14 lines
425 B
JSON
{
|
|
"KPlugin": {
|
|
"Id": "smartclose",
|
|
"Name": "Smart Close Window",
|
|
"Description": "Minimize Cisco Secure Client instead of closing it; close all other windows normally",
|
|
"Version": "1.0",
|
|
"Authors": [{ "Name": "dotfiles" }],
|
|
"EnabledByDefault": true
|
|
},
|
|
"KPackageStructure": "KWin/Script",
|
|
"X-Plasma-API": "javascript",
|
|
"X-Plasma-MainScript": "code/main.js"
|
|
}
|