diff --git a/home-manager/zsh.nix b/home-manager/zsh.nix index 7ce1349..4d27576 100644 --- a/home-manager/zsh.nix +++ b/home-manager/zsh.nix @@ -25,6 +25,12 @@ ff = "fastfetch"; }; + initExtra = '' + if [ -z "''${WAYLAND_DISPLAY}" ] && [ "''${XDG_VTNR}" -eq 1 ]; then + dbus-run-session Hyprland + fi + ''; + history.size = 10000; history.path = "${config.xdg.dataHome}/zsh/history";