From 6463b29037057d12d0748deb3da2031558cbb12c Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 8 Apr 2015 20:55:52 +0200 Subject: 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 --- tests/aszlig/i3.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/aszlig') 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 = [ ]; 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 */ -- cgit 1.4.1