parent
324906c26e
commit
23987265e5
5 changed files with 160 additions and 0 deletions
@ -0,0 +1,37 @@ |
||||
From 0ba5fe6fa967e616efb43578e3dd59fcf1a647e9 Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Wed, 25 Jun 2025 00:07:43 +0200
|
||||
Subject: [PATCH 1/5] Leaner look
|
||||
|
||||
---
|
||||
krunner/qml/RunCommand.qml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/krunner/qml/RunCommand.qml b/krunner/qml/RunCommand.qml
|
||||
index 32b6ceb91f..ba0bc33efd 100644
|
||||
--- a/krunner/qml/RunCommand.qml
|
||||
+++ b/krunner/qml/RunCommand.qml
|
||||
@@ -92,18 +92,18 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
}
|
||||
-
|
||||
+
|
||||
RowLayout {
|
||||
Layout.alignment: Qt.AlignTop
|
||||
PlasmaComponents3.ToolButton {
|
||||
icon.name: "configure"
|
||||
+ visible:false
|
||||
onClicked: {
|
||||
runnerWindow.visible = false
|
||||
KCMLauncher.open("plasma/kcms/desktop/kcm_krunnersettings")
|
||||
}
|
||||
Accessible.name: i18n("Configure")
|
||||
Accessible.description: i18n("Configure KRunner Behavior")
|
||||
- visible: KAuthorized.authorizeControlModule("kcm_krunnersettings")
|
||||
PlasmaComponents3.ToolTip {
|
||||
text: i18n("Configure KRunner…")
|
||||
}
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@ -0,0 +1,47 @@ |
||||
From 4cb17384b3bce3b2ad75ac828a548f22b5f432bf Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Wed, 25 Jun 2025 00:11:06 +0200
|
||||
Subject: [PATCH 2/5] Remove help and pin buttons
|
||||
|
||||
---
|
||||
krunner/qml/RunCommand.qml | 24 ------------------------
|
||||
1 file changed, 24 deletions(-)
|
||||
|
||||
diff --git a/krunner/qml/RunCommand.qml b/krunner/qml/RunCommand.qml
|
||||
index ba0bc33efd..0df08d5ffc 100644
|
||||
--- a/krunner/qml/RunCommand.qml
|
||||
+++ b/krunner/qml/RunCommand.qml
|
||||
@@ -300,30 +300,6 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
- PlasmaComponents3.ToolButton {
|
||||
- visible: runnerWindow.helpEnabled
|
||||
- checkable: true
|
||||
- checked: root.query.startsWith("?")
|
||||
- // Reset if out quers starts with "?", otherwise set it to "?"
|
||||
- onClicked: root.query = root.query.startsWith("?") ? "" : "?"
|
||||
- icon.name: "question"
|
||||
- Accessible.name: i18n("Show Usage Help")
|
||||
- Accessible.description: i18n("Show Usage Help")
|
||||
- PlasmaComponents3.ToolTip {
|
||||
- text: i18n("Show Usage Help")
|
||||
- }
|
||||
- }
|
||||
- PlasmaComponents3.ToolButton {
|
||||
- checkable: true
|
||||
- checked: runnerWindow.pinned
|
||||
- onToggled: runnerWindow.pinned = checked
|
||||
- icon.name: "window-pin"
|
||||
- Accessible.name: i18n("Pin")
|
||||
- Accessible.description: i18n("Pin Search")
|
||||
- PlasmaComponents3.ToolTip {
|
||||
- text: i18n("Keep Open")
|
||||
- }
|
||||
- }
|
||||
}
|
||||
|
||||
PlasmaComponents3.ScrollView {
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@ -0,0 +1,24 @@ |
||||
From 9900f0ba123ae99c9c355520643f7f1b87cc894c Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Wed, 25 Jun 2025 00:13:11 +0200
|
||||
Subject: [PATCH 3/5] Remove clear button
|
||||
|
||||
---
|
||||
krunner/qml/RunCommand.qml | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/krunner/qml/RunCommand.qml b/krunner/qml/RunCommand.qml
|
||||
index 0df08d5ffc..f55e3ab3db 100644
|
||||
--- a/krunner/qml/RunCommand.qml
|
||||
+++ b/krunner/qml/RunCommand.qml
|
||||
@@ -130,6 +130,7 @@ ColumnLayout {
|
||||
Layout.minimumWidth: Kirigami.Units.gridUnit * 25
|
||||
Layout.maximumWidth: Kirigami.Units.gridUnit * 25
|
||||
|
||||
+ clearButtonShown: false
|
||||
activeFocusOnPress: true
|
||||
placeholderText: results.singleRunner ? i18nc("Textfield placeholder text, query specific KRunner plugin",
|
||||
"Search '%1'…", results.singleRunnerMetaData.name)
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@ -0,0 +1,27 @@ |
||||
From 3da8bc73c38bb3760d62ef96a07a4e42a386883a Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Wed, 25 Jun 2025 00:49:17 +0200
|
||||
Subject: [PATCH 4/5] HACK force krunner size
|
||||
|
||||
---
|
||||
krunner/qml/RunCommand.qml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/krunner/qml/RunCommand.qml b/krunner/qml/RunCommand.qml
|
||||
index f55e3ab3db..bfafb39ce3 100644
|
||||
--- a/krunner/qml/RunCommand.qml
|
||||
+++ b/krunner/qml/RunCommand.qml
|
||||
@@ -127,8 +127,8 @@ ColumnLayout {
|
||||
id: queryField
|
||||
property bool allowCompletion: false
|
||||
|
||||
- Layout.minimumWidth: Kirigami.Units.gridUnit * 25
|
||||
- Layout.maximumWidth: Kirigami.Units.gridUnit * 25
|
||||
+ Layout.minimumWidth: 842
|
||||
+ Layout.maximumWidth: 842
|
||||
|
||||
clearButtonShown: false
|
||||
activeFocusOnPress: true
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@ -0,0 +1,25 @@ |
||||
From ab750e4841da3cde5987d0413e9d96a2e4cd9733 Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Wed, 25 Jun 2025 00:39:02 +0200
|
||||
Subject: [PATCH 5/5] Bigger icons
|
||||
|
||||
---
|
||||
applets/systemtray/package/contents/ui/main.qml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/applets/systemtray/package/contents/ui/main.qml b/applets/systemtray/package/contents/ui/main.qml
|
||||
index 5d4e0efc74..7a529e332d 100644
|
||||
--- a/applets/systemtray/package/contents/ui/main.qml
|
||||
+++ b/applets/systemtray/package/contents/ui/main.qml
|
||||
@@ -182,7 +182,7 @@ ContainmentItem {
|
||||
flow: vertical ? GridView.LeftToRight : GridView.TopToBottom
|
||||
|
||||
// The icon size to display when not using the auto-scaling setting
|
||||
- readonly property int smallIconSize: Kirigami.Units.iconSizes.smallMedium
|
||||
+ readonly property int smallIconSize: Kirigami.Units.iconSizes.medium
|
||||
|
||||
// Automatically use autoSize setting when in tablet mode, if it's
|
||||
// not already being used
|
||||
--
|
||||
2.51.0
|
||||
|
||||
Loading…
Reference in new issue