mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Removed extra 's' from all services. Made the noctalia color scheme the default
This commit is contained in:
@@ -28,7 +28,7 @@ Row {
|
||||
|
||||
NText {
|
||||
id: cpuUsageText
|
||||
text: `${SystemStatsService.cpuUsage}%`
|
||||
text: `${SystemStatService.cpuUsage}%`
|
||||
font.pointSize: Style.fontSizeReduced * scaling
|
||||
font.weight: Style.fontWeightBold
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
@@ -52,7 +52,7 @@ Row {
|
||||
}
|
||||
|
||||
NText {
|
||||
text: `${SystemStatsService.cpuTemp}°C`
|
||||
text: `${SystemStatService.cpuTemp}°C`
|
||||
font.pointSize: Style.fontSizeReduced * scaling
|
||||
font.weight: Style.fontWeightBold
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
@@ -75,7 +75,7 @@ Row {
|
||||
}
|
||||
|
||||
NText {
|
||||
text: `${SystemStatsService.memoryUsageGb}G`
|
||||
text: `${SystemStatService.memoryUsageGb}G`
|
||||
font.pointSize: Style.fontSizeReduced * scaling
|
||||
font.weight: Style.fontWeightBold
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -43,8 +43,8 @@ Item {
|
||||
|
||||
Component.onCompleted: {
|
||||
localWorkspaces.clear()
|
||||
for (var i = 0; i < WorkspacesService.workspaces.count; i++) {
|
||||
const ws = WorkspacesService.workspaces.get(i)
|
||||
for (var i = 0; i < WorkspaceService.workspaces.count; i++) {
|
||||
const ws = WorkspaceService.workspaces.get(i)
|
||||
if (ws.output.toLowerCase() === screen.name.toLowerCase()) {
|
||||
localWorkspaces.append(ws)
|
||||
}
|
||||
@@ -54,11 +54,11 @@ Item {
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: WorkspacesService
|
||||
target: WorkspaceService
|
||||
function onWorkspacesChanged() {
|
||||
localWorkspaces.clear()
|
||||
for (var i = 0; i < WorkspacesService.workspaces.count; i++) {
|
||||
const ws = WorkspacesService.workspaces.get(i)
|
||||
for (var i = 0; i < WorkspaceService.workspaces.count; i++) {
|
||||
const ws = WorkspaceService.workspaces.get(i)
|
||||
if (ws.output.toLowerCase() === screen.name.toLowerCase()) {
|
||||
localWorkspaces.append(ws)
|
||||
}
|
||||
@@ -182,7 +182,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
WorkspacesService.switchToWorkspace(model.idx)
|
||||
WorkspaceService.switchToWorkspace(model.idx)
|
||||
}
|
||||
hoverEnabled: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user