forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 64a935192143286d59b94de00ba4726dadf0fd79Filtered to src/main.rsClear filter

2024-05-26

2024-05-23

Increase RLIMIT_NOFILE to maximumIvan Molodetskikh · bcca03c
Increase RLIMIT_NOFILE to maximum

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-09

2024-04-21

2024-03-06

Adjust commentsIvan Molodetskikh · cedfd49Browse files
Add dinit support (#246)metent · Unverified431f070
Add dinit support (#246)

* 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-24

2024-02-22

Fix new warningsIvan Molodetskikh · af6485cBrowse files

2024-02-21

Move watcher to utilsIvan Molodetskikh · 9e60b34Browse files
Move spawn to submoduleIvan Molodetskikh · 2c01cdeBrowse files

2024-02-20

Upgrade logs about removing env vars to warn!Ivan Molodetskikh · 5b3bfd9
Upgrade logs about removing env vars to warn!

These are more visible now with the --session flag.
Add --session CLI flag instead of detection based on systemd serviceIvan Molodetskikh · f0a5e9c
Add --session CLI flag instead of detection based on systemd service

Allows running without systemd.

2024-02-19

utils/spawn: Put processes into systemd scopesIvan Molodetskikh · 6ba24e3
utils/spawn: Put processes into systemd scopes

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-12

2024-02-10

Move CLI types to submoduleIvan Molodetskikh · e68641cBrowse files

2024-02-07

2024-02-05

Add lib.rs, become a mixed lib-bin crateIvan Molodetskikh · 3789d85
Add lib.rs, become a mixed lib-bin crate

Will be used for visual tests.

2024-02-01

2024-01-29

Implement wlr-foreign-toplevel-managementIvan Molodetskikh · 59ff331
Implement wlr-foreign-toplevel-management

The parent event isn't sent but whatever.

2024-01-28

Mark Msg as pubIvan Molodetskikh · 367e495
Mark Msg as pub

Seems to break the build on 1.72.0 otherwise.

2024-01-19

Print git version in clap tooIvan Molodetskikh · 65e8649Browse files
Add exit confirmation dialogIvan Molodetskikh · 4b9cb2fBrowse files

2024-01-18

Add a config parse error notificationIvan Molodetskikh · fa9b3ed
Add a config parse error notification

We can't rely on a notification daemon being available, especially
during initial niri setup. So, render our own.

2024-01-17

2024-01-09

2024-01-07

Move config into a separate crateIvan Molodetskikh · 64c41fa
Move config into a separate crate

Get miette and knuffel deps contained within.

2024-01-03

2023-12-28

2023-12-18

Make main() return ResultIvan Molodetskikh · 8c3107a
Make main() return Result

For reporting the config validation error.
Move miette set earlierIvan Molodetskikh · 8bcd18aBrowse files

2023-11-24

Move first log message to after cli parsingIvan Molodetskikh · df5512c
Move first log message to after cli parsing

So that it doesn't occur during --help etc.
Move command spawning to a threadIvan Molodetskikh · ae47f21
Move command spawning to a thread

It was showing up on profiles causing dropped frames.
Add missing newlineIvan Molodetskikh · 9f24b48Browse files
Remove {WAYLAND_,}DISPLAY from environment if running as a serviceIvan Molodetskikh · c95e4a7
Remove {WAYLAND_,}DISPLAY from environment if running as a service

Notably, running the GNOME Xorg session followed by niri results in a
leftover DISPLAY.
Log version on startupIvan Molodetskikh · d6b8310Browse files
Remove info from default logIvan Molodetskikh · 5b3d626
Remove info from default log

Smithay spams way too much.

2023-10-30

2023-10-10