edits on greetd

This commit is contained in:
Chris Cochrun 2022-12-16 16:19:29 -06:00
parent b2a940dbe9
commit 24f375dd4a
6 changed files with 66 additions and 16 deletions

View file

@ -211,14 +211,28 @@ services.greetd = {
command = "/home/chris/bin/hyprland";
user = "chris";
};
default_session = initial_session;
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd /home/chris/bin/hyprland";
user = "greeter";
};
plasma_session = {
command = "dbus-run-session startplasma-wayland";
user = "chris";
};
hyprland_session = {
command = "${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland";
command = "/home/chris/bin/hyprland";
user = "chris";
};
};
};
environment.etc."greetd/environments".text = ''
/home/chris/bin/hyprland
fish
bash
dbus-run-session startplasma-wayland
'';
programs.hyprland = {
enable = true;
};