Move autorandr to system
Alan Pearce alan@alanpearce.eu
Tue, 15 Oct 2019 19:27:02 +0200
18 files changed, 88 insertions(+), 89 deletions(-)
jump to
- system/autorandr/docked-close/config
- system/autorandr/docked-open/config
- system/autorandr/laptop/config
- system/autorandr/work-1/config
- system/settings/hardware/laptop.nix
- system/autorandr/docked-close/block
- system/autorandr/docked-close/setup
- system/autorandr/docked-open/block
- system/autorandr/docked-open/setup
- system/autorandr/laptop/setup
- system/autorandr/postswitch
- system/autorandr/work-1/setup
- user/satoshipad.nix
A system/autorandr/docked-close/config
@@ -0,0 +1,20 @@+output DP-1 +off +output HDMI-1 +off +output DP-2 +off +output HDMI-2 +off +output DP-2-3 +off +output eDP-1 +off +output DP-2-1 +mode 2560x1440 +pos 1920x0 +rate 59.95 +output DP-2-2 +mode 2560x1440 +pos 4480x0 +rate 59.95
A system/autorandr/docked-open/config
@@ -0,0 +1,23 @@+output DP-1 +off +output HDMI-1 +off +output DP-2 +off +output HDMI-2 +off +output DP-2-3 +off +output eDP-1 +mode 1920x1080 +pos 0x0 +primary +rate 60.03 +output DP-2-1 +mode 2560x1440 +pos 1920x0 +rate 59.95 +output DP-2-2 +mode 2560x1440 +pos 4480x0 +rate 59.95
A system/autorandr/laptop/config
@@ -0,0 +1,19 @@+output DP-1 +off +output HDMI-1 +off +output DP-2 +off +output HDMI-2 +off +output DP-2-1 +off +output DP-2-2 +off +output DP-2-3 +off +output eDP-1 +mode 1920x1080 +pos 0x0 +primary +rate 60.03
A system/autorandr/work-1/config
@@ -0,0 +1,21 @@+output DP-1 +off +output HDMI-1 +off +output DP-2 +off +output HDMI-2 +mode 1920x1200 +pos 0x0 +primary +rate 59.95 +output DP-2-1 +off +output DP-2-2 +off +output DP-2-3 +off +output eDP-1 +mode 1920x1080 +pos 1920x0 +rate 60.03
M system/settings/hardware/laptop.nix → system/settings/hardware/laptop.nix
@@ -32,6 +32,11 @@ programs.light.enable = true; services.autorandr.enable = true; + environment.etc.autorandr = { + enable = true; + source = ../../autorandr; + target = "xdg/autorandr"; + }; services.logind.extraConfig = '' IdleAction=suspend
D user/autorandr/.config/autorandr/docked-close/config
@@ -1,23 +0,0 @@-output DP1 -off -output DP2 -off -output DP2-3 -off -output HDMI1 -off -output HDMI2 -off -output VIRTUAL1 -off -output eDP1 -off -output DP2-1 -mode 2560x1440 -pos 0x0 -primary -rate 59.95 -output DP2-2 -mode 2560x1440 -pos 2560x0 -rate 59.95
D user/autorandr/.config/autorandr/docked-open/config
@@ -1,25 +0,0 @@-output DP1 -off -output DP2 -off -output DP2-3 -off -output HDMI1 -off -output HDMI2 -off -output VIRTUAL1 -off -output DP2-1 -mode 2560x1440 -pos 0x0 -primary -rate 59.95 -output DP2-2 -mode 2560x1440 -pos 2560x0 -rate 59.95 -output eDP1 -mode 1920x1080 -pos 1632x1440 -rate 60.03
D user/autorandr/.config/autorandr/laptop/config
@@ -1,15 +0,0 @@-output DP1 -off -output DP2 -off -output HDMI1 -off -output HDMI2 -off -output VIRTUAL1 -off -output eDP1 -mode 1920x1080 -pos 0x0 -primary -rate 60.03
D user/autorandr/.config/autorandr/work-1/config
@@ -1,17 +0,0 @@-output DP1 -off -output DP2 -off -output HDMI1 -off -output VIRTUAL1 -off -output HDMI2 -mode 1920x1200 -pos 0x0 -primary -rate 59.95 -output eDP1 -mode 1920x1080 -pos 1920x0 -rate 60.03
M user/satoshipad.nix → user/satoshipad.nix
@@ -2,7 +2,6 @@ { config, pkgs, ... }: { imports = [ - ./settings/autorandr.nix ./settings/base.nix ./settings/development/base.nix ./settings/dunst.nix
D user/settings/autorandr.nix
@@ -1,8 +0,0 @@-{ config, pkgs, ... }: - -{ - xdg.configFile.autorandr = { - recursive = true; - source = ../autorandr/.config/autorandr; - }; -}