# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/hyprland/sane-defaults.patch # Copyright (C) 2024 - 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Don't annoy new users about default config, or whine about devs firing it up in a VM as root. --- Hyprland-0.53.0/src/main.cpp.vanilla 2025-12-29 21:58:37.699423160 +0100 +++ Hyprland-0.53.0/src/main.cpp 2025-12-29 21:59:09.174694432 +0100 @@ -69,7 +69,7 @@ std::string configPath; std::string socketName; int socketFd = -1; - bool ignoreSudo = false, verifyConfig = false, safeMode = false; + bool ignoreSudo = true , verifyConfig = false, safeMode = false; int watchdogFd = -1; if (argc > 1) { --- hyprland-source/src/config/defaultConfig.hpp.vanilla 2024-11-23 14:30:19.433279957 +0100 +++ hyprland-source/src/config/defaultConfig.hpp 2024-11-23 14:31:57.139945039 +0100 @@ -9,7 +9,7 @@ # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### -autogenerated = 1 # remove this line to remove the warning +autogenerated = 0 # remove this line to remove the warning # This is an example Hyprland config file. # Refer to the wiki for more information.