File: useful-asset-error.patch

package info (click to toggle)
hyprland 0.52.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,644 kB
  • sloc: cpp: 73,032; xml: 4,094; sh: 234; makefile: 96
file content (25 lines) | stat: -rw-r--r-- 1,232 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Julian Sax <jsdev@volllast.net>
Date: Tue, 18 Nov 2025 15:43:15 +0800
Subject: Replace non-obvious error message with hint to debian package

This check triggers when hyprland-backgrounds is not present, which is
a separate package in debian.

Forwarded: not-needed
---
 src/Compositor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 2dc798e..33c5945 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2779,7 +2779,7 @@ void CCompositor::performUserChecks() {
     }
 
     if (g_pHyprOpenGL->m_failedAssetsNo > 0) {
-        g_pHyprNotificationOverlay->addNotification(std::format("Hyprland failed to load {} essential asset{}, blame your distro's packager for doing a bad job at packaging!",
+        g_pHyprNotificationOverlay->addNotification(std::format("Hyprland failed to load {} essential asset{}, consider installing hyprland-backgrounds or setting misc:disable_hyprland_logo",
                                                                 g_pHyprOpenGL->m_failedAssetsNo, g_pHyprOpenGL->m_failedAssetsNo > 1 ? "s" : ""),
                                                     CHyprColor{1.0, 0.1, 0.1, 1.0}, 15000, ICON_ERROR);
     }