From 4e7ca4391e9e682ec7db847b328f259df7c6906b Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 8 Oct 2025 00:57:16 -0400 Subject: [PATCH] tweak: show current NixOS generation on popout open --- modules/bar/popouts/NixOS.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/bar/popouts/NixOS.qml b/modules/bar/popouts/NixOS.qml index 2e6cff5..548781c 100644 --- a/modules/bar/popouts/NixOS.qml +++ b/modules/bar/popouts/NixOS.qml @@ -90,6 +90,8 @@ ColumnLayout { spacing: 6 clip: true + Component.onCompleted: positionViewAtIndex(NixOS.generations.findIndex(g => g.current), ListView.Visible) + model: ScriptModel { values: [...NixOS.generations] objectProp: "id"