cross-posted from: https://lemmy.world/post/21426498
I use nixos + greetd + tuigreet + hyprland. I missed to mention that I wanted to disable or hide the logs that gets shows when starting hyprland from tty terminal by writing
Hyprland
or when using greetd tuigreet. After entering my username and password, These logs show before hyprland starts, I want to avoid that
Hyprland > /dev/null
Or push it to a file, just in general. That way if something goes tits up you can still check it later.
So does it mean passing
--cmd Hyprland > /dev/null
to Tuigreet? If so then that wouldn’t work with my setup, as I use sessions instead of cmd. Here is how I have it in nixosThe
sessionDirs
is thisThis is a link to my dotfiles where I have it:
https://gitlab.com/that1communist/dotfiles/-/blob/master/etc/nixos/sys.nix
mine is in here somewhere ctrl f for it
You have NixOS, it’s easy to give it a custom session path for that.
Also I would use systemd-cat so the output goes into the journal instead of nowhere.
Would you be able to provide an example code? It would help me grasp the concept more effectively.