diff --git a/home/x/i3.nix b/home/x/i3.nix index cc7e231..d9f5bb5 100644 --- a/home/x/i3.nix +++ b/home/x/i3.nix @@ -115,6 +115,12 @@ in window.commands = [ { command = "border pixel 2"; criteria = { class = "Alacritty"; }; } + + # NOTE: should be done with an assign command, but Spotify doesn't set + # its class until after initialization, so has to be done this way. + # + # See https://i3wm.org/docs/userguide.html#assign_workspace + { criteria = { class = "Spotify"; }; command = "move to workspace 8"; } ]; }; };