diff options
author | tv <tv@krebsco.de> | 2015-10-25 12:21:46 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-10-25 12:21:46 +0100 |
commit | 7c1d1a596b84f3a17461d667736a1a2d8b35810e (patch) | |
tree | 075da13bc237ab6f9c03ca08d8cbc0428d1d8a82 /tv/2configs/xserver/default.nix | |
parent | bd79f0e391388daa78973ccc6e8b1698748b4d24 (diff) |
tv xmonad: read initial workspaces from file
Diffstat (limited to 'tv/2configs/xserver/default.nix')
-rw-r--r-- | tv/2configs/xserver/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix index facdf6d..c5cffbb 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" '' |