cmake: remove dependence on hyprland.conf

This commit is contained in:
Vaxry 2026-05-07 11:44:13 +01:00
parent 4fab2afced
commit 1dc8a0db81
No known key found for this signature in database
4 changed files with 3 additions and 7 deletions

View file

@ -630,10 +630,6 @@ file(GLOB_RECURSE INSTALLABLE_ASSETS "assets/install/*")
install(FILES ${INSTALLABLE_ASSETS}
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/hypr)
# default config
install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.conf
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/hypr)
# default lua config
install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.lua
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/hypr)

View file

@ -92,7 +92,7 @@ asan:
cmake --build ./build --config Debug --target all
@echo "Hyprland done"
ASAN_OPTIONS="detect_odr_violation=0,log_path=asan.log" HYPRLAND_NO_CRASHREPORTER=1 ./build/Hyprland -c ~/.config/hypr/hyprland.conf
ASAN_OPTIONS="detect_odr_violation=0,log_path=asan.log" HYPRLAND_NO_CRASHREPORTER=1 ./build/Hyprland -c ~/.config/hypr/hyprland.lua
format-check:
@find src hyprctl hyprpm start tests -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \

View file

@ -71,7 +71,7 @@ A debug coredump provides more information for debugging and may speed up the pr
Make sure you're on latest git. Run `git pull --recurse-submodules` to sync everything.
1. [Compile Hyprland with debug mode](http://wiki.hypr.land/Contributing-and-Debugging/#build-in-debug-mode)
> Note: The config file used will be `hyprlandd.conf` instead of `hyprland.conf`
> Note: The config file used will be `hyprlandd.lua` instead of `hyprland.lua`
2. `cd ~`
3. For your own convenience, launch Hyprland from a tty with the envvar `ASAN_OPTIONS="log_path=asan.log" ~/path/to/Hyprland`

View file

@ -107,7 +107,7 @@ time_ms:
Time to display notification in milliseconds
color:
Notification color. Format is the same as for colors in hyprland.conf. Use
Notification color. Format is the same as for colors in hyprland.lua. Use
0 for default color for icon
message: