From b25c2abad084fa6d2fc930e27998533010b50708 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 4 Dec 2026 01:30:49 +0000 Subject: x11: xmonad From the dirt. Hosts set what's specific to them: XMONAD_MASTER_* by the unit's environment, and shortcuts by hrm.xmonad.shortcuts. hrm.xresources replaces tv.Xresources: X resources per display, and "*" for all, loaded by the session service xresources@ instead of a system service. --- systems/leg/config.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'systems') diff --git a/systems/leg/config.nix b/systems/leg/config.nix index 066aafe9..ec780dcd 100644 --- a/systems/leg/config.nix +++ b/systems/leg/config.nix @@ -149,4 +149,10 @@ }; services.illum.enable = true; + + # master width = master terminal columns * column width / screen width + systemd.user.services."xmonad@".environment = { + XMONAD_MASTER_WIDTH = toString (80 * 14 / 2560.); + XMONAD_MASTER_DELTA = toString (8 * 14 / 2560.); + }; } -- cgit v1.3.1