mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-25 16:40:33 -04:00
refactor(home/hyprland): disable tty1 autostart (greetd should handle it nicely)
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
{lib, config, ...}: let
|
||||
hyprland = lib.getExe config.wayland.windowManager.hyprland.package;
|
||||
in {
|
||||
programs.zsh.loginExtra = lib.mkBefore ''
|
||||
if [[ "$(tty)" == /dev/tty1 ]]; then
|
||||
exec ${hyprland} &> /dev/null
|
||||
fi
|
||||
'';
|
||||
programs.fish.loginShellInit = lib.mkBefore ''
|
||||
if test (tty) = /dev/tty1
|
||||
exec ${hyprland} &> /dev/null
|
||||
end
|
||||
'';
|
||||
programs.bash.profileExtra = lib.mkBefore ''
|
||||
if [[ "$(tty)" == /dev/tty1 ]]; then
|
||||
exec ${hyprland} &> /dev/null
|
||||
fi
|
||||
'';
|
||||
}
|
||||
@@ -26,7 +26,6 @@ in {
|
||||
../common
|
||||
../common/wayland-wm
|
||||
|
||||
./autostart-tty1.nix
|
||||
./basic-binds.nix
|
||||
./hyprbars.nix
|
||||
./hyprlock.nix
|
||||
|
||||
Reference in New Issue
Block a user