Add panel favorites for KDE (fixes #123)
This commit is contained in:
parent
e4850b39fb
commit
c0f1dc24fd
@ -0,0 +1,10 @@
|
||||
panelIds.forEach(panelId => {
|
||||
const panel = panelById(panelId);
|
||||
panel.widgetIds.forEach(widgetId => {
|
||||
const widget = panel.widgetById(widgetId);
|
||||
if (widget.type === 'org.kde.plasma.icontasks') {
|
||||
widget.currentConfigGroup = ["General"];
|
||||
widget.writeConfig('launchers', 'applications:org.kde.konsole.desktop,applications:org.kde.dolphin.desktop,applications:org.kde.kwrite.desktop,applications:firefox-esr.desktop');
|
||||
}
|
||||
})
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user