This commit is contained in:
Bloxx12 2025-06-24 15:51:34 +02:00
commit 334bca71fe
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
17 changed files with 733 additions and 117 deletions

View file

@ -7,6 +7,8 @@ import Quickshell.Io
import Quickshell.Wayland
import Quickshell.Widgets
import "./config"
Singleton {
id: launcher
property bool launcherOpen: false
@ -32,11 +34,10 @@ Singleton {
activeAsync: launcher.launcherOpen
PanelWindow {
width: 450
height: 7 + searchContainer.implicitHeight + list.topMargin * 2 + list.delegateHeight * 10
implicitWidth: 450
implicitHeight: 7 + searchContainer.implicitHeight + list.topMargin * 2 + list.delegateHeight * 10
color: "transparent"
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
WlrLayershell.namespace: "shell:launcher"
Rectangle {
@ -48,9 +49,9 @@ Singleton {
}
}
width: 450
color: "#30c0afaf"
color: Config.catppuccin.base
radius: 5
border.color: "black"
border.color: Config.catppuccin.mantle
border.width: 2
ColumnLayout {
@ -63,24 +64,20 @@ Singleton {
id: searchContainer
Layout.fillWidth: true
implicitHeight: searchbox.implicitHeight + 10
color: "#30c0ffff"
color: Config.catppuccin.base
radius: 3
border.color: "#50ffffff"
border.color: Config.catppuccin.mantle
RowLayout {
id: searchbox
anchors.fill: parent
anchors.margins: 5
IconImage {
implicitSize: parent.height
source: "root:icons/magnifying-glass.svg"
}
TextInput {
id: search
Layout.fillWidth: true
color: "black"
color: Config.catppuccin.text
font.pointSize: 13
focus: true
Keys.forwardTo: [list]
@ -254,9 +251,9 @@ Singleton {
highlight: Rectangle {
radius: 5
color: "#20e0ffff"
border.color: "#30ffffff"
border.width: 1
color: "transparent"
border.color: Config.catppuccin.lavender
border.width: 2
}
keyNavigationEnabled: true
keyNavigationWraps: true
@ -296,8 +293,9 @@ Singleton {
}
Text {
text: modelData.name
color: "black"
font.family: "ComicShannsMono Nerd Font Mono"
color: Config.catppuccin.text
font.family: "JetBrainsMono Nerd Font Mono"
font.pointSize: 13
Layout.alignment: Qt.AlignVCenter
}
}