diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Apps.qml | 2 | ||||
| -rw-r--r-- | services/Visibilities.qml | 2 |
2 files changed, 3 insertions, 1 deletions
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]; } |