start wayland.windowManager.hyprland.finalPackage on login

This commit is contained in:
Adithya 2023-11-09 21:02:34 +05:30
parent becea7251a
commit 09a349867f
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -16,14 +16,11 @@
initExtra = ''
bindkey -v '^?' backward-delete-char
'';
profileExtra =
if pkgs.stdenv.isLinux
then ''
profileExtra = ''
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ] ; then
exec ${pkgs.hyprland}/bin/Hyprland
exec ${config.wayland.windowManager.hyprland.finalPackage}/bin/Hyprland
fi
''
else "";
'';
shellAliases = {
cat = "${pkgs.bat}/bin/bat";
cp = "cp -v";