hotplug for autorandr

This commit is contained in:
Cyryl Płotnicki 2021-11-04 08:39:27 +00:00
parent 8b2d8949fb
commit 3aa2d0fea6
3 changed files with 44 additions and 40 deletions

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
services.autorandr.enable = true;
home-manager.users.cyryl = {...}: {
programs.autorandr = {
enable = true;
hooks.postswitch = {
@ -50,5 +51,6 @@
};
};
};
};
}

View file

@ -1,5 +1,8 @@
{ config, pkgs, ... }:
{
imports = [
./autorandr.nix
];
environment.systemPackages = with pkgs; [
gnome3.dconf
];

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
./autorandr.nix
./i3.nix
./i3-status.nix
./dunst.nix