From 36f28f7c42957cd8728bf4fb7740be28d5b746cb Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 23 May 2025 16:50:12 +0800 Subject: bar: switch to embedded style --- services/Apps.qml | 2 +- services/Visibilities.qml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'services') diff --git a/services/Apps.qml b/services/Apps.qml index 6f2f48f..2c0fea1 100644 --- a/services/Apps.qml +++ b/services/Apps.qml @@ -32,6 +32,6 @@ Singleton { property DesktopEntry entry - command: ["app2unit", "--", `${entry.id}.desktop`] + command: ["app2unit", "--", `${entry?.id}.desktop`] } } diff --git a/services/Visibilities.qml b/services/Visibilities.qml index 9b04118..5c3e21a 100644 --- a/services/Visibilities.qml +++ b/services/Visibilities.qml @@ -5,6 +5,8 @@ import Quickshell Singleton { property var screens: ({}) + property var bar + function getForActive(): PersistentProperties { return Object.entries(screens).find(s => s[0].slice(s[0].indexOf('"') + 1, s[0].lastIndexOf('"')) === Hyprland.focusedMonitor.name)[1]; } -- cgit v1.2.3-freya