From 81a4f26fadd146cdd5b03679ee29d5a5d2d6d5ad Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Mon, 25 Nov 2024 12:36:43 +0500 Subject: [PATCH] Update --- .../org.kde.plasma.icontasks.js | 47 +++++++++---------- .../org.kde.plasma.icontasks.js | 47 +++++++++---------- 2 files changed, 46 insertions(+), 48 deletions(-) diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-dark.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-dark.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js index f9f19c7..b240066 100644 --- a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-dark.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-dark.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js @@ -1,40 +1,39 @@ let baseApps = [ - "melawy-welcome.desktop", - "systemsettings.desktop", - "pamac.desktop", - "org.kde.dolphin.desktop", - "org.kde.konsole.desktop", - "org.kde.kcalc.desktop", - "org.kde.kate.desktop" +"melawy-welcome.desktop", +"systemsettings.desktop", +"pamac.desktop", +"org.kde.dolphin.desktop", +"org.kde.konsole.desktop", +"org.kde.kcalc.desktop", +"org.kde.kate.desktop" ]; let addApps = [ - ["code.desktop", "com.visualstudio.code.desktop"], - ["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], - ["discord.desktop", "com.discordapp.Discord.desktop"], - ["Zoom.desktop", "us.zoom.Zoom.desktop"], - ["firefoxdeveloperedition.desktop", "firefoxdeveloperedition.desktop"], - ["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], - ["firefox.desktop", "org.mozilla.firefox.desktop"], - ["brave-browser.desktop", "com.brave.Browser.desktop"], - ["google-chrome.desktop", "com.google.Chrome.desktop"] +["code.desktop", "com.visualstudio.code.desktop"], +["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], +["discord.desktop", "com.discordapp.Discord.desktop"], +["Zoom.desktop", "us.zoom.Zoom.desktop"], +["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], +["firefox.desktop", "org.mozilla.firefox.desktop"], +["brave-browser.desktop", "com.brave.Browser.desktop"], +["google-chrome.desktop", "com.google.Chrome.desktop"] ]; let applications = ''; baseApps.forEach((i) => { - if (applicationExists(i)) { - applications += 'applications:' + i + ','; - } + if (applicationExists(i)) { + applications += 'applications:' + i + ','; + } }); addApps.forEach((i) => { - if (applicationExists(i[0])) { - applications += 'applications:' + i[0] + ','; - } else if (applicationExists(i[1])) { - applications += 'applications:' + i[1] + ','; - } + if (applicationExists(i[0])) { + applications += 'applications:' + i[0] + ','; + } else if (applicationExists(i[1])) { + applications += 'applications:' + i[1] + ','; + } }); applications = applications.substring(0, applications.length - 1).split(','); diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js index f9f19c7..b240066 100644 --- a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js @@ -1,40 +1,39 @@ let baseApps = [ - "melawy-welcome.desktop", - "systemsettings.desktop", - "pamac.desktop", - "org.kde.dolphin.desktop", - "org.kde.konsole.desktop", - "org.kde.kcalc.desktop", - "org.kde.kate.desktop" +"melawy-welcome.desktop", +"systemsettings.desktop", +"pamac.desktop", +"org.kde.dolphin.desktop", +"org.kde.konsole.desktop", +"org.kde.kcalc.desktop", +"org.kde.kate.desktop" ]; let addApps = [ - ["code.desktop", "com.visualstudio.code.desktop"], - ["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], - ["discord.desktop", "com.discordapp.Discord.desktop"], - ["Zoom.desktop", "us.zoom.Zoom.desktop"], - ["firefoxdeveloperedition.desktop", "firefoxdeveloperedition.desktop"], - ["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], - ["firefox.desktop", "org.mozilla.firefox.desktop"], - ["brave-browser.desktop", "com.brave.Browser.desktop"], - ["google-chrome.desktop", "com.google.Chrome.desktop"] +["code.desktop", "com.visualstudio.code.desktop"], +["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], +["discord.desktop", "com.discordapp.Discord.desktop"], +["Zoom.desktop", "us.zoom.Zoom.desktop"], +["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], +["firefox.desktop", "org.mozilla.firefox.desktop"], +["brave-browser.desktop", "com.brave.Browser.desktop"], +["google-chrome.desktop", "com.google.Chrome.desktop"] ]; let applications = ''; baseApps.forEach((i) => { - if (applicationExists(i)) { - applications += 'applications:' + i + ','; - } + if (applicationExists(i)) { + applications += 'applications:' + i + ','; + } }); addApps.forEach((i) => { - if (applicationExists(i[0])) { - applications += 'applications:' + i[0] + ','; - } else if (applicationExists(i[1])) { - applications += 'applications:' + i[1] + ','; - } + if (applicationExists(i[0])) { + applications += 'applications:' + i[0] + ','; + } else if (applicationExists(i[1])) { + applications += 'applications:' + i[1] + ','; + } }); applications = applications.substring(0, applications.length - 1).split(',');