summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xserver/default.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-25 12:21:46 +0100
committertv <tv@shackspace.de>2015-10-25 12:21:46 +0100
commit39236213abc668d35fab45e6bb747f11862e992d (patch)
treec28a0427260e4cd55113d9e01987d29a55e32287 /tv/2configs/xserver/default.nix
parent8afb910e2a87e0edc9fc4693ed09b4a0ce0fb206 (diff)
tv xmonad: read initial workspaces from file
Diffstat (limited to 'tv/2configs/xserver/default.nix')
-rw-r--r--tv/2configs/xserver/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index facdf6df2..c5cffbb30 100644
--- a/tv/2configs/xserver/default.nix
+++ b/tv/2configs/xserver/default.nix
@@ -78,6 +78,19 @@ let
xmonad-environment = {
DISPLAY = ":${toString config.services.xserver.display}";
XMONAD_STATE = "/tmp/xmonad.state";
+
+ # XXX JSON is close enough :)
+ XMONAD_WORKSPACES0_FILE = pkgs.writeText "xmonad.workspaces0" (toJSON [
+ "Dashboard" # we start here
+ "23"
+ "cr"
+ "ff"
+ "hack"
+ "im"
+ "mail"
+ "stockholm"
+ "za" "zj" "zs"
+ ]);
};
xmonad-start = pkgs.writeScriptBin "xmonad" ''