diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-04-08 20:55:52 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-04-08 20:55:52 +0200 |
commit | 6463b29037057d12d0748deb3da2031558cbb12c (patch) | |
tree | f6353773748c587be6aba767bfcca55891f0fc10 | |
parent | 48cbb36324179ab376fbbe590f07177236e4aabb (diff) |
tests/i3: Define a "first" test workspace.
It's mainly to test whether the workspace assignment is done correctly and if not, the screenshot on the test will be showing one of the default workspaces instead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | tests/aszlig/i3.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/aszlig/i3.nix b/tests/aszlig/i3.nix index c6b84b76..408a476d 100644 --- a/tests/aszlig/i3.nix +++ b/tests/aszlig/i3.nix @@ -7,7 +7,15 @@ imports = [ <nixpkgs/nixos/tests/common/x11.nix> ]; vuizvui.user.aszlig.profiles.base.enable = true; - vuizvui.user.aszlig.services.i3.enable = true; + + vuizvui.user.aszlig.services.i3 = { + enable = true; + + workspaces."1" = { + label = "first"; + assign = lib.singleton { class = "^test\$"; }; + }; + }; services.xserver.windowManager.default = lib.mkForce "i3"; /* XXX */ |