aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2024-09-25core: add a --systeminfo parameter to gather systeminfo without runningvaxerski
2024-09-19version: log build aquamarine versionvaxerski
log the built against aq version, might be useful when it's mismatched to identify the problem
2024-09-19args: add --version to binary argsvaxerski
2024-08-15core: Preserve existing XDG_CURRENT_DESKTOP (#7347)Vladimir-csp
* Preserve existing XDG_CURRENT_DESKTOP * fix --------- Co-authored-by: vaxerski <[email protected]>
2024-07-24core: Properly shutdown wl display (#7018)Ikalco
* correctly destroy wayland globals * properly shutdown and cleanup hyprland * appease the nitpick gods and some comments
2024-07-22core: avoid locking 2 wayland sockets (#6971)diniamo
* fix: avoid locking 2 wayland sockets * format * fix formatting
2024-07-20compositor: implement wayland socket handover (#6930)Ferdinand Bachmann
* compositor: implement wayland socket handover This commit implements the compositor side of the Wayland socket handover protocol as described in the [KDE Wiki]. The CLI options are chosen so that they are compatible with Kwin. [KDE Wiki]: https://invent.kde.org/plasma/kwin/-/wikis/Restarting * main: verify that --wayland-fd is a valid file descriptor * main: fail if only one of --socket and --wayland-fd is passed
2024-04-28core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788)Vaxry
Moves the directory containing sockets and logs. Also restructures lockfiles a bit. For consumers, check if `$XDG_RUNTIME_DIR/hypr` exists. If so, use it. If not, use the old `/tmp/hypr`.
2024-01-05main: Fix typo in std::cerr (#4359)Naksu
2023-12-21systemd: add HYPRLAND_NO_SD_NOTIFYvaxerski
fixes #4217
2023-12-12config: Use canonical instead of read_symlink (#4136)dranull
2023-12-04config: Minor --config improvements, fixes (#4034)dranull
* Follow symlink, only file, absolute path for -c * Create config file only for default paths * Skip non-file source= glob results * Check for absolute path on XDG_CONFIG_HOME As per spec, all non-absolute paths should be ignored. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
2023-11-17env: add HYPRLAND_NO_RTVaxry
2023-11-07main: set isShuttingDown after display dispatch reaches the endVaxry
relates to #3558
2023-09-22refactor: manually resets singletons (#3395)memchr
2023-09-06internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik
Signed-off-by: pdamianik <[email protected]>
2023-09-06internal: Formatter rework (#3186)Vaxry
2023-08-20compositor: fix missed raw throwsvaxerski
2023-07-24init: Fix for issue #2797 (#2799)ferrreo
* Fix for issue #2797 * Fix for issue #2797 * Fix for issue #2797
2023-07-23init: Request SCHED_RR using CAP_SYS_NICE and add Python to nix dev shell ↵Mily
(#2690) * nix: add python3 to devShell * init: request SCHED_RR scheduling policy * init: checks if host supports reseting scheduler on fork * init: make gainRealTime more compatible with other OSes * init: remove linux-only code
2023-07-18only return 0 when using -h (#2738)Aaron Blasko
2023-07-06Cleanup compositor deadcode (#2657)Mykola Perehudov
* Remove dead code as it is a part of CCompositor::cleanup * Unify sd_notify logic with Compositor lifetime
2023-06-09main: fix segfault when -c is given with no other arguments (#2470)eriedaberrie
2023-04-10args: print help on invalid argvaxerski
2023-04-07Better and more secure argument parsing, and code reformatting (#1976)Andrew Nitrogenesis
* Better and more secure argument parsing, and code reformatting * Changes to resolve PR conversation * Formatted via clang-format, fixed typos * More typos
2023-03-23core: remove old redundant shutdown stuffvaxerski
2023-03-09Compositor: fix crash on exitvaxerski
2023-03-05Initialize priority managers before server initvaxerski
2023-02-01fix legacy system call to create hypr dirvaxerski
2023-01-09replace java envvarvaxerski
2023-01-09describe layers in hyprctl layersvaxerski
2023-01-05add systemd support (#1253)jrun
* add systemd support motivation for this is is proper ordering of related/bound/required services to Hyprland (e.g. swaybg) that would need to have a compositor ready. this could possibly be a build-time option of course. see also: example/ files for example of services Signed-off-by: Paymon MARANDI <[email protected]> * nix: add withSystemd flag Signed-off-by: Paymon MARANDI <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Vaxerski <[email protected]>
2022-12-16Added clang format (#1239)Vaxry
* clang-format stuff and format files
2022-11-30remove global varvaxerski
2022-11-19Setting wayland environment variables at startup (#1045)Narice
* Nix modules: removed GDK_BACKEND env variable * setting wayland environment variables at startup setting XDG_BACKEND and _JAVA_AWT_WM_NONREPARENTING in main.cpp removed these variables from nix modules recommended environemnt removed XCURSOR_SIZE from nix modules as it is already set * Making _JAVA_AWT_WM_NONREPARENTING not overwritten
2022-09-25Remove trailing whitespace.Felix Dick
2022-09-19export HYPRLAND_CMD for scriptsvaxerski
2022-08-28Multiple improvements to the shutdown procedurevaxerski
2022-08-25modify exit behaviour a bitvaxerski
2022-08-22use a custom logging func for wlrvaxerski
2022-08-22added HYPRLAND_LOG_WLR envvarvaxerski
2022-07-15add simple help messageMihai Fufezan
2022-07-14add config flagMihai Fufezan
you can now specify a config with -c <path>
2022-07-13Fixed TTY switching (#364)Vaxry
2022-07-06use C++ throw methods instead of printf and exitvaxerski
2022-06-03Log to the instance foldervaxerski
2022-06-03IPC and log changes, introduce signaturevaxerski
2022-05-19disallow running with sudovaxerski
unless you use the --i-am-really-stupid flag
2022-04-21handle term and int signals and cleanupvaxerski
2022-03-20added hyprctlvaxerski