config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
@@ -5,15 +5,16 @@ import QtQuick
|
||||
import qs.Modules.Launcher.Services
|
||||
import qs.Components
|
||||
import qs.Helpers
|
||||
import qs.Config
|
||||
import ZShell.Config
|
||||
import qs.Services
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property real maxHeight
|
||||
readonly property int padding: Appearance.padding.small
|
||||
readonly property int padding: Tokens.padding.small
|
||||
required property var panels
|
||||
readonly property int rounding: Appearance.rounding.large
|
||||
readonly property int rounding: Tokens.rounding.large
|
||||
required property PersistentProperties visibilities
|
||||
|
||||
implicitHeight: search.height + listWrapper.height + padding * 2
|
||||
@@ -48,9 +49,9 @@ Item {
|
||||
anchors.left: parent.left
|
||||
anchors.margins: root.padding
|
||||
anchors.right: parent.right
|
||||
bottomPadding: Appearance.padding.larger
|
||||
bottomPadding: Tokens.padding.larger
|
||||
placeholderText: qsTr("Type \"%1\" for commands").arg(Config.launcher.actionPrefix)
|
||||
topPadding: Appearance.padding.larger
|
||||
topPadding: Tokens.padding.larger
|
||||
|
||||
Component.onCompleted: forceActiveFocus()
|
||||
Keys.onDownPressed: list.currentList?.decrementCurrentIndex()
|
||||
@@ -77,7 +78,7 @@ Item {
|
||||
const currentItem = list.currentList?.currentItem;
|
||||
if (currentItem) {
|
||||
if (list.showWallpapers) {
|
||||
if (DynamicColors.scheme === "dynamic" && currentItem.modelData.path !== Wallpapers.actualCurrent)
|
||||
if (Colors.scheme === "dynamic" && currentItem.modelData.path !== Wallpapers.actualCurrent)
|
||||
Wallpapers.previewColourLock = true;
|
||||
Wallpapers.setWallpaper(currentItem.modelData.path);
|
||||
root.visibilities.launcher = false;
|
||||
|
||||
Reference in New Issue
Block a user