Skip to content

Commit

Permalink
fixed initscript I removed by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
tubbadu committed Nov 2, 2023
1 parent 1a899b7 commit edcf750
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Item {

property string outputText: ""

Component.onCompleted: {
executable.exec(root.initScript);
}

onStatusChanged: {
let getStatusCode = {
"active": PlasmaCore.Types.ActiveStatus,
Expand Down Expand Up @@ -113,20 +117,20 @@ Item {
root.iconPath = icon.trim();
}
if(tooltip) {
root.dynamicTooltip = tooltip; // do not trim tooltip
root.dynamicTooltip = tooltip + ""; // do not trim tooltip
}
if(status) {
root.status = tooltip.trim();
}

root.outputText = stdout;
root.outputText = stdout + "";
}
}

MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: config.onMouseOverScript != ""
hoverEnabled: root.onMouseOverScript != ""

//cursorShape: output.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor

Expand Down

0 comments on commit edcf750

Please sign in to comment.