diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-03-27 00:11:05 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-03-27 00:11:05 +0530 |
| commit | f9f276e2dafd8718635ad4657f9b4decc420edf9 (patch) | |
| tree | a1ac69a80b529a986ab673cf0205617eeeb57aa1 /quickshell | |
| parent | 8524efe76a7c0945c6c9e7113eb740817e9eb2cd (diff) | |
search bar fixes + i no longer need side bar + cloudflare warp + lazydocker
Diffstat (limited to 'quickshell')
| -rw-r--r-- | quickshell/AppLauncher.qml | 12 | ||||
| -rw-r--r-- | quickshell/shell.qml | 116 |
2 files changed, 70 insertions, 58 deletions
diff --git a/quickshell/AppLauncher.qml b/quickshell/AppLauncher.qml index 5feab81..a4f1ffd 100644 --- a/quickshell/AppLauncher.qml +++ b/quickshell/AppLauncher.qml @@ -35,12 +35,14 @@ Rectangle { Keys.onReturnPressed: { if (hoverIndex >= 0 && hoverIndex < appListModel.count) { launchApp(appListModel.get(hoverIndex).appCommand) + console.log(appListModel.get(hoverIndex).appCommand) } } Keys.onEnterPressed: { if (hoverIndex >= 0 && hoverIndex < appListModel.count) { launchApp(appListModel.get(hoverIndex).appCommand) + console.log(appListModel.get(hoverIndex).appCommand) } } @@ -64,6 +66,16 @@ Rectangle { const parts = line.split('|'); if (parts.length < 4) continue; + + if (parts[0].toLowerCase().includes("zen")) { + apps.push({ + appName: "Zen browser", + appDescription: "it's zen", + appIcon: "nigga", + appCommand: "zen" + }); + } + apps.push({ appName: parts[0], appDescription: parts[1], diff --git a/quickshell/shell.qml b/quickshell/shell.qml index e012535..3219d09 100644 --- a/quickshell/shell.qml +++ b/quickshell/shell.qml @@ -93,64 +93,64 @@ ShellRoot { Spin {} } - PanelWindow { - id: apps - - anchors.top: true - anchors.right: true - anchors.bottom: true - implicitWidth: 32 - color: shellRoot.black - - ColumnLayout { - Item {} - IconButton { - icon: "" - tooltip: "Zen" - onClicked: Quickshell.execDetached(["zen"]) - } - IconButton { - icon: "" - tooltip: "Dolphin" - onClicked: Quickshell.execDetached(["dolphin"]) - } - IconButton { - icon: "" - tooltip: "Vscode" - onClicked: Quickshell.execDetached(["code"]) - } - IconButton { - icon: "" - tooltip: "Localsend" - onClicked: Quickshell.execDetached(["localsend_app"]) - } - IconButton { - icon: "" - tooltip: "Bitwarden" - onClicked: Quickshell.execDetached(["bitwarden"]) - } - IconButton { - icon: "" - tooltip: "GIMP" - onClicked: Quickshell.execDetached(["gimp"]) - } - IconButton { - icon: "" - tooltip: "Obsidian" - onClicked: Quickshell.execDetached(["obsidian"]) - } - IconButton { - icon: "" - tooltip: "Discord" - onClicked: Quickshell.execDetached(["discord"]) - } - IconButton { - icon: "" - tooltip: "VLC" - onClicked: Quickshell.execDetached(["vlc"]) - } - } - } + // PanelWindow { + // id: apps + // + // anchors.top: true + // anchors.right: true + // anchors.bottom: true + // implicitWidth: 32 + // color: shellRoot.black + // + // ColumnLayout { + // Item {} + // IconButton { + // icon: "" + // tooltip: "Zen" + // onClicked: Quickshell.execDetached(["zen"]) + // } + // IconButton { + // icon: "" + // tooltip: "Dolphin" + // onClicked: Quickshell.execDetached(["dolphin"]) + // } + // IconButton { + // icon: "" + // tooltip: "Vscode" + // onClicked: Quickshell.execDetached(["code"]) + // } + // IconButton { + // icon: "" + // tooltip: "Localsend" + // onClicked: Quickshell.execDetached(["localsend_app"]) + // } + // IconButton { + // icon: "" + // tooltip: "Bitwarden" + // onClicked: Quickshell.execDetached(["bitwarden"]) + // } + // IconButton { + // icon: "" + // tooltip: "GIMP" + // onClicked: Quickshell.execDetached(["gimp"]) + // } + // IconButton { + // icon: "" + // tooltip: "Obsidian" + // onClicked: Quickshell.execDetached(["obsidian"]) + // } + // IconButton { + // icon: "" + // tooltip: "Discord" + // onClicked: Quickshell.execDetached(["discord"]) + // } + // IconButton { + // icon: "" + // tooltip: "VLC" + // onClicked: Quickshell.execDetached(["vlc"]) + // } + // } + // } } } Variants { |
