diff --git a/Assets/Hibernate.svgz b/Assets/Hibernate.svgz deleted file mode 100644 index 5e3f00a..0000000 --- a/Assets/Hibernate.svgz +++ /dev/null @@ -1,13 +0,0 @@ - - - - -Created by potrace 1.16, written by Peter Selinger 2001-2019 - - - - diff --git a/Assets/Reboot.svgz b/Assets/Reboot.svgz deleted file mode 100644 index 5e3f00a..0000000 --- a/Assets/Reboot.svgz +++ /dev/null @@ -1,13 +0,0 @@ - - - - -Created by potrace 1.16, written by Peter Selinger 2001-2019 - - - - diff --git a/Assets/Shutdown.svgz b/Assets/Shutdown.svgz deleted file mode 100644 index 5e3f00a..0000000 --- a/Assets/Shutdown.svgz +++ /dev/null @@ -1,13 +0,0 @@ - - - - -Created by potrace 1.16, written by Peter Selinger 2001-2019 - - - - diff --git a/Assets/Suspend.svgz b/Assets/Suspend.svgz deleted file mode 100644 index 5e3f00a..0000000 --- a/Assets/Suspend.svgz +++ /dev/null @@ -1,13 +0,0 @@ - - - - -Created by potrace 1.16, written by Peter Selinger 2001-2019 - - - - diff --git a/Assets/main.png b/Assets/main.png new file mode 100644 index 0000000..aaf15c7 Binary files /dev/null and b/Assets/main.png differ diff --git a/Components/SystemButtons.qml b/Components/SystemButtons.qml index 5f80180..78b4832 100644 --- a/Components/SystemButtons.qml +++ b/Components/SystemButtons.qml @@ -30,10 +30,10 @@ RowLayout { spacing: root.font.pointSize - property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend] - property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate] - property var reboot: ["Reboot", config.TranslateReboot || textConstants.reboot, sddm.canReboot] - property var shutdown: ["Shutdown", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff] + property var suspend: [" ", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend] + property var hibernate: [" ", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate] + property var reboot: [" ", config.TranslateReboot || textConstants.reboot, sddm.canReboot] + property var shutdown: [" ", config.TranslateShutdown || textConstants.shutdown, sddm.canPowerOff] property Control exposedSession @@ -45,11 +45,11 @@ RowLayout { RoundButton { text: modelData[1] font.family: config.Font - font.pointSize: root.font.pointSize * 0.8 + font.pointSize: root.font.pointSize * 4 Layout.alignment: Qt.AlignHCenter - icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : "" - icon.height: 2 * Math.round((root.font.pointSize * 3) / 2) - icon.width: 2 * Math.round((root.font.pointSize * 3) / 2) +// icon.source: modelData ? Qt.resolvedUrl("../Assets/" + modelData[0] + ".svgz") : "" +// icon.height: 2 * Math.round((root.font.pointSize * 3) / 2) +// icon.width: 2 * Math.round((root.font.pointSize * 3) / 2) display: AbstractButton.TextUnderIcon visible: config.ForceHideSystemButtons != "true" && modelData[2] hoverEnabled: true diff --git a/theme.conf b/theme.conf index dfa88c6..421bda7 100644 --- a/theme.conf +++ b/theme.conf @@ -1,6 +1,6 @@ [General] -Background="/home/penwing/nixos/wallpapers/main.png" +Background="Assets/main.png" ## Path relative to the theme root directory. Most standard image file formats are allowed including support for transparency. (e.g. background.jpeg/illustration.GIF/Foto.png/undraw.svgz) DimBackgroundImage="0.6"