Beginning to make JLearner Work and a bit of Code clean up
This commit is contained in:
@@ -82,6 +82,7 @@ declare -A MAP=(
|
||||
["nemo"]=""
|
||||
["org.gnome.Nautilus"]=""
|
||||
["org.kde.dolphin"]=""
|
||||
["xdg-desktop-portal-gtk"]=""
|
||||
# Settings
|
||||
["nwg-look"]="" # gtk-settings
|
||||
["qt5ct"]=""
|
||||
|
||||
@@ -39,7 +39,7 @@ MouseArea {
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
output.text = this.text.trim()
|
||||
console.log("networkScript output:", this.text.trim())
|
||||
// console.log("networkScript output:", this.text.trim())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ Row { // Workspace Row
|
||||
triggeredOnStart: true
|
||||
onTriggered: {
|
||||
let src = modelData.icon;
|
||||
console.log("########## icon: " + modelData.icon)
|
||||
// console.log("########## icon: " + modelData.icon)
|
||||
|
||||
// Check if there is a "?" in the URL (custom path)
|
||||
if (src.includes('goxlr')) {
|
||||
@@ -136,8 +136,8 @@ Row { // Workspace Row
|
||||
// Build a file:// URL pointing to the actual icon file
|
||||
let segments = folderPath.split('/');
|
||||
let fileName = segments[segments.length - 1] + "-icon.png";
|
||||
console.log("########## filename: " + fileName)
|
||||
console.log("########## icon: " + modelData.icon)
|
||||
// console.log("########## filename: " + fileName)
|
||||
// console.log("########## icon: " + modelData.icon)
|
||||
src = "file://" + pathMatch[1] + "/" + fileName;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ Row { // Workspace Row
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
workspaceNum.text = this.text
|
||||
console.log("networkScript output:", this.text)
|
||||
// console.log("workspaceScript output:", this.text)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user