fix(user/malte): hyprland startup and systemd integration

This commit is contained in:
Malte Tammena 2024-04-25 21:09:14 +02:00
parent 650fd056a3
commit 724dde1b67

View file

@ -129,9 +129,9 @@
"$blue" = "458588";
"$green" = "98971a";
exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${lib.getExe pkgs.hyprpaper}"
"${lib.getExe runWob}"
"hyprctl setcursor ${config.home.pointerCursor.name} ${builtins.toString config.home.pointerCursor.size}"
];
input = {
kb_variant =
@ -388,7 +388,11 @@ in {
enable = true;
settings = hyprlandSettings;
xwayland.enable = true;
systemd.variables = ["-all"];
systemd.variables = ["--all"];
systemd.extraCommands = lib.mkForce [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
home.packages = [