From cb282ab83c386b6785bd8071b0a79fdb01907894 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 15 Aug 2013 13:48:30 +0200 Subject: i3: Swap heads for workspaces on dnyarri. This is because of the somewhat weird Synergy configuration, which I did because it couldn't map the heads correctly to the configured layout. I haven't checked whether this still is the case, but until that this workaround will do it. Signed-off-by: aszlig --- common.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 08cf1530..645adb8f 100644 --- a/common.nix +++ b/common.nix @@ -138,6 +138,13 @@ TEXT ''; } // (let + # Workaround for Synergy: we need to have polarizing heads. + leftHead = head config.services.xserver.xrandrHeads; + rightHead = last config.services.xserver.xrandrHeads; + in if config.networking.hostName == "mmrnmhrm" + then { inherit leftHead rightHead; } + else { leftHead = rightHead; rightHead = leftHead; } + ) // (let wsConfig = if config.networking.hostName == "mmrnmhrm" then [ "XMPP" null "chromium" null null null null null null null ] -- cgit 1.4.1