🐛 fix: rename acc to assets

This commit is contained in:
eshanized
2025-01-05 23:10:51 +05:30
parent b64faa5cc9
commit c8283f5a6c
2 changed files with 11 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ SessionManagementScreen {
textColor: "white" textColor: "white"
placeholderTextColor: "white" placeholderTextColor: "white"
background: Rectangle { background: Rectangle {
radius: 0 radius: 5
color: "#28282b" color: "#28282b"
} }
} }
@@ -80,7 +80,7 @@ SessionManagementScreen {
placeholderTextColor: passwordFieldOutlined ? "white" : "white" placeholderTextColor: passwordFieldOutlined ? "white" : "white"
passwordCharacter: config.PasswordFieldCharacter == "" ? "●" : config.PasswordFieldCharacter passwordCharacter: config.PasswordFieldCharacter == "" ? "●" : config.PasswordFieldCharacter
background: Rectangle { background: Rectangle {
radius: 0 radius: 5
border.color: "#6495ed" border.color: "#6495ed"
border.width: 1 border.width: 1
color: "#6495ed" color: "#6495ed"
@@ -122,7 +122,7 @@ SessionManagementScreen {
Image { Image {
id: loginButton id: loginButton
source: "assets/snigdhaos-login.svgz" source: "assets/login.svg"
smooth: true smooth: true
sourceSize: Qt.size(passwordBox.height, passwordBox.height) sourceSize: Qt.size(passwordBox.height, passwordBox.height)
anchors { anchors {

View File

@@ -209,28 +209,28 @@ Item {
actionItemsVisible: !inputPanel.keyboardActive actionItemsVisible: !inputPanel.keyboardActive
actionItems: [ actionItems: [
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/suspend_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/suspend.svg"
text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep") text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: sddm.suspend() onClicked: sddm.suspend()
enabled: sddm.canSuspend enabled: sddm.canSuspend
}, },
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/restart_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/reset.svg"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart") text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: sddm.reboot() onClicked: sddm.reboot()
enabled: sddm.canReboot enabled: sddm.canReboot
}, },
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/shutdown_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/shutdown.svg"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down") text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: sddm.powerOff() onClicked: sddm.powerOff()
enabled: sddm.canPowerOff enabled: sddm.canPowerOff
}, },
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/switch_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/switch.svg"
text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "For switching to a username and password prompt", "Other…") text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "For switching to a username and password prompt", "Other…")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: mainStack.push(userPromptComponent) onClicked: mainStack.push(userPromptComponent)
@@ -353,28 +353,28 @@ Item {
actionItemsVisible: !inputPanel.keyboardActive actionItemsVisible: !inputPanel.keyboardActive
actionItems: [ actionItems: [
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/suspend_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/suspend.svg"
text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep") text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: sddm.suspend() onClicked: sddm.suspend()
enabled: sddm.canSuspend enabled: sddm.canSuspend
}, },
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/restart_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/reset.svg"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart") text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: sddm.reboot() onClicked: sddm.reboot()
enabled: sddm.canReboot enabled: sddm.canReboot
}, },
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/shutdown_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/shutdown.svg"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down") text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: sddm.powerOff() onClicked: sddm.powerOff()
enabled: sddm.canPowerOff enabled: sddm.canPowerOff
}, },
ActionButton { ActionButton {
icon.name: "/usr/share/sddm/themes/snigdhaos/assets/switch_primary.svgz" icon.name: "/usr/share/sddm/themes/snigdhaos/assets/switch.svg"
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "List Users") text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "List Users")
font.pointSize: parseInt(config.fontSize) + 1 font.pointSize: parseInt(config.fontSize) + 1
onClicked: mainStack.pop() onClicked: mainStack.pop()