hyprland is giving me so much shit

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-08-31 00:58:34 -05:00
parent 85b427cb12
commit 00a045d0c1
6 changed files with 65 additions and 34 deletions

View file

@ -123,23 +123,23 @@ in
ringofstorms_common.desktopEnvironment.hyprland.extraOptions = hyprlandExtraOptions;
# User-level systemd service that follows your Hyprland session and watches for monitor changes
systemd.user.services.hyprland-move-workspaces = {
description = "Keep workspaces 16 on main and 710 on secondary; react to monitor changes";
# Start/stop with Hyprland specifically
wantedBy = [ "hyprland-session.target" ];
after = [ "hyprland-session.target" ];
partOf = [ "hyprland-session.target" ];
bindsTo = [ "hyprland-session.target" ];
# Only start once Hyprland's event socket exists
unitConfig.ConditionPathExistsGlob = "%t/hypr/*/.socket2.sock";
serviceConfig = {
Type = "simple";
ExecStart = "${moveScript}/bin/hyprland-move-workspaces";
Restart = "always";
RestartSec = "2s";
};
};
# systemd.user.services.hyprland-move-workspaces = {
# description = "Keep workspaces 16 on main and 710 on secondary; react to monitor changes";
#
# # Start/stop with Hyprland specifically
# wantedBy = [ "hyprland-session.target" ];
# after = [ "hyprland-session.target" ];
# partOf = [ "hyprland-session.target" ];
# bindsTo = [ "hyprland-session.target" ];
# # Only start once Hyprland's event socket exists
# unitConfig.ConditionPathExistsGlob = "%t/hypr/*/.socket2.sock";
#
# serviceConfig = {
# Type = "simple";
# ExecStart = "${moveScript}/bin/hyprland-move-workspaces";
# Restart = "always";
# RestartSec = "2s";
# };
# };
};
}