commit 04b02653abbf18c361615495619b911e1253b752
parent 7b259663767f0d26cec3db6c71523982afe72030
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 7 Dec 2020 11:25:06 +0100
users/vincent: add autorandr on-the-move…
… profile. This is when.. I am on the move.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/users/vincent/desktop/autorandr.nix b/users/vincent/desktop/autorandr.nix
@@ -9,6 +9,19 @@ in
hooks.postswitch."notify-i3" = "${config.xsession.windowManager.i3.package}/bin/i3-msg restart";
hooks.postswitch."reset-background" = "systemctl --user start random-background.service";
profiles = {
+ on-the-move = {
+ fingerprint = {
+ eDP-1 = thinkpadt480s;
+ };
+ config = {
+ eDP-1 = {
+ enable = true;
+ primary = true;
+ position = "0x0";
+ mode = "1920x1080";
+ };
+ };
+ };
home = {
fingerprint = {
eDP-1 = thinkpadt480s;