From ea8d475166e7cb1a9438d4a0cbc0c4fd2e19eae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 18 Apr 2020 17:23:19 +0100 Subject: [PATCH] Add form3 display setup --- nixos/i3/grobi.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nixos/i3/grobi.nix b/nixos/i3/grobi.nix index 288371d4..b393336f 100644 --- a/nixos/i3/grobi.nix +++ b/nixos/i3/grobi.nix @@ -26,6 +26,22 @@ "${pkgs.xorg.xrandr}/bin/xrandr --dpi 144" ]; } + { + name = "form3-docked"; + outputs_connected = [ "eDP-1-1" "DP-1-1" ]; + configure_single = "DP-1-1"; + execute_after = [ + "${pkgs.xorg.xrandr}/bin/xrandr --dpi 192" + ]; + } + { + name = "form3"; + outputs_connected = [ "eDP-1-1" ]; + configure_single = "eDP-1-1"; + execute_after = [ + "${pkgs.xorg.xrandr}/bin/xrandr --dpi 256" + ]; + } ]; }; }