feat: auto-disable niri-dependent components when NIRI_SOCKET is absent
This commit is contained in:
parent
dd854a2f7f
commit
9cf6853742
4 changed files with 9 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ import "." as M
|
|||
M.BarSection {
|
||||
id: root
|
||||
spacing: M.Theme.moduleSpacing
|
||||
visible: M.Modules.windowTitle.enable && M.NiriIpc.focusedTitle !== ""
|
||||
visible: M.Modules.windowTitle.enable && M.NiriIpc.available && M.NiriIpc.focusedTitle !== ""
|
||||
|
||||
tooltip: M.NiriIpc.focusedAppId ? M.NiriIpc.focusedAppId + "\n" + M.NiriIpc.focusedTitle : M.NiriIpc.focusedTitle
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue