summaryrefslogtreecommitdiff
path: root/nixos/hosts/bed
diff options
context:
space:
mode:
authorcaley <195605706+cqley@users.noreply.github.com>2026-08-04 19:44:00 +0200
committerGitHub <noreply@github.com>2026-08-04 19:44:00 +0200
commit8d4ecc179992f78de897c9608ec7a2f372ef695e (patch)
treeabb080130bb14540adb4a4c944a12a624d24dd7a /nixos/hosts/bed
parentc317211ed052ab83aef663dc49d295174bc5883e (diff)
Update qksh.nix
Diffstat (limited to 'nixos/hosts/bed')
-rw-r--r--nixos/hosts/bed/components/qksh.nix36
1 files changed, 35 insertions, 1 deletions
diff --git a/nixos/hosts/bed/components/qksh.nix b/nixos/hosts/bed/components/qksh.nix
index f1229f6..abe2276 100644
--- a/nixos/hosts/bed/components/qksh.nix
+++ b/nixos/hosts/bed/components/qksh.nix
@@ -219,7 +219,7 @@ in {
"bar": [{ label: "position", sub: "barPosition" }, { label: "layout", sub: "barLayout" }, { label: "mode", sub: "barMode" }, { label: "look", sub: "barLook" }],
"barPosition": [{ label: "top", barPos: "top" }, { label: "bottom", barPos: "bottom" }],
"barLayout": [{ label: "minimal", barLyt: "minimal" }, { label: "full", barLyt: "full" }],
- "barMode": [{ label: "performance", centerLyt: "performance" }, { label: "default", centerLyt: "default" }],
+ "barMode": [{ label: "performance", centerLyt: "performance" }, { label: "default", centerLyt: "default" }, { label: "pile", centerLyt: "pile" }],
"barLook": [{ label: "float", barLook: "float" }, { label: "fill", barLook: "fill" }],
"pw": [
{ label: "lock", cmd: [""] },
@@ -695,6 +695,7 @@ in {
Row {
spacing: 0
Layout.fillHeight: true
+ visible: barSettings.centerMode !== "pile"
Repeater {
model: 10
@@ -736,6 +737,39 @@ in {
}
}
+ Row {
+ spacing: 0
+ Layout.fillHeight: true
+ visible: barSettings.centerMode === "pile"
+
+ Repeater {
+ model: ["file", "edit", "view", "special"]
+
+ Item {
+ width: Math.round(fm.advanceWidth(modelData)) + 16
+ height: parent.height
+
+ Rectangle {
+ anchors.fill: parent
+ color: pileArea.containsMouse ? configRoot.colors.colors.color8 : "transparent"
+ }
+
+ MText {
+ anchors.centerIn: parent
+ color: pileArea.containsMouse ? configRoot.colors.special.foreground : configRoot.colors.colors.color7
+ text: modelData
+ }
+
+ MouseArea {
+ id: pileArea
+ anchors.fill: parent
+ hoverEnabled: true
+ onClicked: {}
+ }
+ }
+ }
+ }
+
Item {
Layout.fillWidth: true
Layout.fillHeight: true