aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2024-06-28Implement support for `$NIRI_CONFIG` environment variablesodiboo
2024-05-23Increase RLIMIT_NOFILE to maximumIvan Molodetskikh
Fixes Xwayland + RustRover crashing. See similar changes: * https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2235 * https://github.com/swaywm/sway/pull/6629
2024-05-09Start Tracy manual-lifetime after niri msgIvan Molodetskikh
2024-04-21Implement window-resize custom-shaderIvan Molodetskikh
2024-03-06Remove NOTIFY_FD after reading itIvan Molodetskikh
2024-03-06Adjust commentsIvan Molodetskikh
2024-03-06Add dinit support (#246)metent
* Add dinit support - Add --notify-fd cli flag for ready notifications - Set dinit activation environment when "dinit" feature flag is enabled * Make systemd and dinit environment activation additive * Use NOTIFY_FD env variable instead of --notify-fd cli flag for sending ready notifications * Format with rustfmt
2024-02-24Add environment {} config sectionIvan Molodetskikh
2024-02-22Fix new warningsIvan Molodetskikh
2024-02-21Move watcher to utilsIvan Molodetskikh
2024-02-21Move spawn to submoduleIvan Molodetskikh
2024-02-21Upgrade logs about removing env vars to warn!Ivan Molodetskikh
These are more visible now with the --session flag.
2024-02-21Add systemd feature flag for systemd-specific thingsIvan Molodetskikh
2024-02-21Set XDG_CURRENT_DESKTOP and XDG_SESSION_TYPE from niri itselfIvan Molodetskikh
2024-02-21Add --session CLI flag instead of detection based on systemd serviceIvan Molodetskikh
Allows running without systemd.
2024-02-20utils/spawn: Put processes into systemd scopesIvan Molodetskikh
This separates them from the niri scope for the purposes of e.g. the OOM killer only killing the app and not the compositor.
2024-02-12Export NIRI_SOCKET to systemd/dbus environmentIvan Molodetskikh
2024-02-10Move CLI types to submoduleIvan Molodetskikh
2024-02-07Clamp animation slowdown to sane valuesIvan Molodetskikh
2024-02-07Make all animations configurableIvan Molodetskikh
2024-02-05Add lib.rs, become a mixed lib-bin crateIvan Molodetskikh
Will be used for visual tests.
2024-02-01Add error messages to backend initializationIvan Molodetskikh
2024-01-30Implement wlr-foreign-toplevel-managementIvan Molodetskikh
The parent event isn't sent but whatever.
2024-01-28Show notification about creating a default configIvan Molodetskikh
2024-01-28Create default config file if missingIvan Molodetskikh
2024-01-28Mark Msg as pubIvan Molodetskikh
Seems to break the build on 1.72.0 otherwise.
2024-01-19Print git version in clap tooIvan Molodetskikh
2024-01-19Add exit confirmation dialogIvan Molodetskikh
2024-01-18Add an important hotkeys overlayIvan Molodetskikh
2024-01-18Add a config parse error notificationIvan Molodetskikh
We can't rely on a notification daemon being available, especially during initial niri setup. So, render our own.
2024-01-18Watch config path even if it didn't exist at startupIvan Molodetskikh
2024-01-17Add an IPC socket and a niri msg outputs subcommandIvan Molodetskikh
2024-01-09Add panic subcommand to check backtracesIvan Molodetskikh
2024-01-07Move config into a separate crateIvan Molodetskikh
Get miette and knuffel deps contained within.
2024-01-03Make rendering generic over rendererIvan Molodetskikh
2023-12-28Add disable-power-key-handling optionIvan Molodetskikh
2023-12-18Add a validate subcommand for config validationIvan Molodetskikh
2023-12-18Make main() return ResultIvan Molodetskikh
For reporting the config validation error.
2023-12-18Move miette set earlierIvan Molodetskikh
2023-11-24Move first log message to after cli parsingIvan Molodetskikh
So that it doesn't occur during --help etc.
2023-11-24Move command spawning to a threadIvan Molodetskikh
It was showing up on profiles causing dropped frames.
2023-11-24Add missing newlineIvan Molodetskikh
2023-11-24Remove {WAYLAND_,}DISPLAY from environment if running as a serviceIvan Molodetskikh
Notably, running the GNOME Xorg session followed by niri results in a leftover DISPLAY.
2023-11-24Log version on startupIvan Molodetskikh
2023-11-24Remove info from default logIvan Molodetskikh
Smithay spams way too much.
2023-11-24Don't propagate overwritten RUST_{,LIB_}BACKTRACEIvan Molodetskikh
2023-10-30Implement area selection screenshotsIvan Molodetskikh
2023-10-10Make zbus optional under "dbus" featureIvan Molodetskikh
2023-10-10Extract dbus server startupIvan Molodetskikh
2023-10-10Extract inhibit_power_key()Ivan Molodetskikh