Update
This commit is contained in:
parent
eb16ef294c
commit
37a9de9c62
|
@ -1,28 +1,41 @@
|
||||||
let FullApps = [
|
let baseApps = [
|
||||||
"melawy-welcome.desktop",
|
"melawy-welcome.desktop",
|
||||||
"systemsettings.desktop",
|
"systemsettings.desktop",
|
||||||
"pamac.desktop",
|
"pamac.desktop",
|
||||||
"org.kde.dolphin.desktop",
|
"org.kde.dolphin.desktop",
|
||||||
"org.kde.konsole.desktop",
|
"org.kde.konsole.desktop",
|
||||||
"org.kde.kcalc.desktop",
|
"org.kde.kcalc.desktop",
|
||||||
"org.kde.kate.desktop",
|
"org.kde.kate.desktop"
|
||||||
"code.desktop",
|
|
||||||
"org.telegram.desktop.desktop",
|
|
||||||
"discord.desktop",
|
|
||||||
"Zoom.desktop",
|
|
||||||
"firefoxdeveloperedition.desktop",
|
|
||||||
"firefox.desktop",
|
|
||||||
"brave-browser.desktop",
|
|
||||||
"google-chrome.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.desktop", "org.mozilla.firefox.desktop"],
|
||||||
|
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||||
|
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
let applications = '';
|
let applications = '';
|
||||||
FullApps.forEach((i) => {
|
|
||||||
|
baseApps.forEach((i) => {
|
||||||
if (applicationExists(i)) {
|
if (applicationExists(i)) {
|
||||||
applications += 'applications:' + i + ',';
|
applications += 'applications:' + i + ',';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addApps.forEach((i) => {
|
||||||
|
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(',');
|
applications = applications.substring(0, applications.length - 1).split(',');
|
||||||
|
|
||||||
/*dock*/
|
/*dock*/
|
||||||
|
|
|
@ -1,28 +1,41 @@
|
||||||
let FullApps = [
|
let baseApps = [
|
||||||
"melawy-welcome.desktop",
|
"melawy-welcome.desktop",
|
||||||
"systemsettings.desktop",
|
"systemsettings.desktop",
|
||||||
"pamac.desktop",
|
"pamac.desktop",
|
||||||
"org.kde.dolphin.desktop",
|
"org.kde.dolphin.desktop",
|
||||||
"org.kde.konsole.desktop",
|
"org.kde.konsole.desktop",
|
||||||
"org.kde.kcalc.desktop",
|
"org.kde.kcalc.desktop",
|
||||||
"org.kde.kate.desktop",
|
"org.kde.kate.desktop"
|
||||||
"code.desktop",
|
|
||||||
"org.telegram.desktop.desktop",
|
|
||||||
"discord.desktop",
|
|
||||||
"Zoom.desktop",
|
|
||||||
"firefoxdeveloperedition.desktop",
|
|
||||||
"firefox.desktop",
|
|
||||||
"brave-browser.desktop",
|
|
||||||
"google-chrome.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.desktop", "org.mozilla.firefox.desktop"],
|
||||||
|
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||||
|
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
let applications = '';
|
let applications = '';
|
||||||
FullApps.forEach((i) => {
|
|
||||||
|
baseApps.forEach((i) => {
|
||||||
if (applicationExists(i)) {
|
if (applicationExists(i)) {
|
||||||
applications += 'applications:' + i + ',';
|
applications += 'applications:' + i + ',';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addApps.forEach((i) => {
|
||||||
|
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(',');
|
applications = applications.substring(0, applications.length - 1).split(',');
|
||||||
|
|
||||||
/*dock*/
|
/*dock*/
|
||||||
|
|
|
@ -1,28 +1,41 @@
|
||||||
let FullApps = [
|
let baseApps = [
|
||||||
"melawy-welcome.desktop",
|
"melawy-welcome.desktop",
|
||||||
"systemsettings.desktop",
|
"systemsettings.desktop",
|
||||||
"pamac.desktop",
|
"pamac.desktop",
|
||||||
"org.kde.dolphin.desktop",
|
"org.kde.dolphin.desktop",
|
||||||
"org.kde.konsole.desktop",
|
"org.kde.konsole.desktop",
|
||||||
"org.kde.kcalc.desktop",
|
"org.kde.kcalc.desktop",
|
||||||
"org.kde.kate.desktop",
|
"org.kde.kate.desktop"
|
||||||
"code.desktop",
|
|
||||||
"org.telegram.desktop.desktop",
|
|
||||||
"discord.desktop",
|
|
||||||
"Zoom.desktop",
|
|
||||||
"firefoxdeveloperedition.desktop",
|
|
||||||
"firefox.desktop",
|
|
||||||
"brave-browser.desktop",
|
|
||||||
"google-chrome.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.desktop", "org.mozilla.firefox.desktop"],
|
||||||
|
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||||
|
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
let applications = '';
|
let applications = '';
|
||||||
FullApps.forEach((i) => {
|
|
||||||
|
baseApps.forEach((i) => {
|
||||||
if (applicationExists(i)) {
|
if (applicationExists(i)) {
|
||||||
applications += 'applications:' + i + ',';
|
applications += 'applications:' + i + ',';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addApps.forEach((i) => {
|
||||||
|
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(',');
|
applications = applications.substring(0, applications.length - 1).split(',');
|
||||||
|
|
||||||
/*dock*/
|
/*dock*/
|
||||||
|
|
|
@ -1,28 +1,41 @@
|
||||||
let FullApps = [
|
let baseApps = [
|
||||||
"melawy-welcome.desktop",
|
"melawy-welcome.desktop",
|
||||||
"systemsettings.desktop",
|
"systemsettings.desktop",
|
||||||
"pamac.desktop",
|
"pamac.desktop",
|
||||||
"org.kde.dolphin.desktop",
|
"org.kde.dolphin.desktop",
|
||||||
"org.kde.konsole.desktop",
|
"org.kde.konsole.desktop",
|
||||||
"org.kde.kcalc.desktop",
|
"org.kde.kcalc.desktop",
|
||||||
"org.kde.kate.desktop",
|
"org.kde.kate.desktop"
|
||||||
"code.desktop",
|
|
||||||
"org.telegram.desktop.desktop",
|
|
||||||
"discord.desktop",
|
|
||||||
"Zoom.desktop",
|
|
||||||
"firefoxdeveloperedition.desktop",
|
|
||||||
"firefox.desktop",
|
|
||||||
"brave-browser.desktop",
|
|
||||||
"google-chrome.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.desktop", "org.mozilla.firefox.desktop"],
|
||||||
|
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||||
|
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
let applications = '';
|
let applications = '';
|
||||||
FullApps.forEach((i) => {
|
|
||||||
|
baseApps.forEach((i) => {
|
||||||
if (applicationExists(i)) {
|
if (applicationExists(i)) {
|
||||||
applications += 'applications:' + i + ',';
|
applications += 'applications:' + i + ',';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addApps.forEach((i) => {
|
||||||
|
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(',');
|
applications = applications.substring(0, applications.length - 1).split(',');
|
||||||
|
|
||||||
/*dock*/
|
/*dock*/
|
||||||
|
|
|
@ -1,28 +1,41 @@
|
||||||
let FullApps = [
|
let baseApps = [
|
||||||
"melawy-welcome.desktop",
|
"melawy-welcome.desktop",
|
||||||
"systemsettings.desktop",
|
"systemsettings.desktop",
|
||||||
"pamac.desktop",
|
"pamac.desktop",
|
||||||
"org.kde.dolphin.desktop",
|
"org.kde.dolphin.desktop",
|
||||||
"org.kde.konsole.desktop",
|
"org.kde.konsole.desktop",
|
||||||
"org.kde.kcalc.desktop",
|
"org.kde.kcalc.desktop",
|
||||||
"org.kde.kate.desktop",
|
"org.kde.kate.desktop"
|
||||||
"code.desktop",
|
|
||||||
"org.telegram.desktop.desktop",
|
|
||||||
"discord.desktop",
|
|
||||||
"Zoom.desktop",
|
|
||||||
"firefoxdeveloperedition.desktop",
|
|
||||||
"firefox.desktop",
|
|
||||||
"brave-browser.desktop",
|
|
||||||
"google-chrome.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.desktop", "org.mozilla.firefox.desktop"],
|
||||||
|
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||||
|
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
let applications = '';
|
let applications = '';
|
||||||
FullApps.forEach((i) => {
|
|
||||||
|
baseApps.forEach((i) => {
|
||||||
if (applicationExists(i)) {
|
if (applicationExists(i)) {
|
||||||
applications += 'applications:' + i + ',';
|
applications += 'applications:' + i + ',';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addApps.forEach((i) => {
|
||||||
|
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(',');
|
applications = applications.substring(0, applications.length - 1).split(',');
|
||||||
|
|
||||||
/*dock*/
|
/*dock*/
|
||||||
|
|
|
@ -1,28 +1,41 @@
|
||||||
let FullApps = [
|
let baseApps = [
|
||||||
"melawy-welcome.desktop",
|
"melawy-welcome.desktop",
|
||||||
"systemsettings.desktop",
|
"systemsettings.desktop",
|
||||||
"pamac.desktop",
|
"pamac.desktop",
|
||||||
"org.kde.dolphin.desktop",
|
"org.kde.dolphin.desktop",
|
||||||
"org.kde.konsole.desktop",
|
"org.kde.konsole.desktop",
|
||||||
"org.kde.kcalc.desktop",
|
"org.kde.kcalc.desktop",
|
||||||
"org.kde.kate.desktop",
|
"org.kde.kate.desktop"
|
||||||
"code.desktop",
|
|
||||||
"org.telegram.desktop.desktop",
|
|
||||||
"discord.desktop",
|
|
||||||
"Zoom.desktop",
|
|
||||||
"firefoxdeveloperedition.desktop",
|
|
||||||
"firefox.desktop",
|
|
||||||
"brave-browser.desktop",
|
|
||||||
"google-chrome.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.desktop", "org.mozilla.firefox.desktop"],
|
||||||
|
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||||
|
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
let applications = '';
|
let applications = '';
|
||||||
FullApps.forEach((i) => {
|
|
||||||
|
baseApps.forEach((i) => {
|
||||||
if (applicationExists(i)) {
|
if (applicationExists(i)) {
|
||||||
applications += 'applications:' + i + ',';
|
applications += 'applications:' + i + ',';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
addApps.forEach((i) => {
|
||||||
|
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(',');
|
applications = applications.substring(0, applications.length - 1).split(',');
|
||||||
|
|
||||||
/*dock*/
|
/*dock*/
|
||||||
|
|
Loading…
Reference in New Issue