add grobi
This commit is contained in:
parent
ba64a0e3b6
commit
6dca1f723a
2 changed files with 32 additions and 1 deletions
31
nixos/i3/grobi.nix
Normal file
31
nixos/i3/grobi.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [ grobi ];
|
||||
services.grobi = {
|
||||
enable = true;
|
||||
executeAfter = [
|
||||
"systemctl --user restart picom"
|
||||
"i3-msg restart"
|
||||
"systemctl --user restart kdeconnect-indicator.service kdeconnect.service network-manager-applet.service pasystray.service"
|
||||
];
|
||||
rules = [
|
||||
{
|
||||
name = "foureighty-docked";
|
||||
outputs_connected = [ "eDP1" "DP1" ];
|
||||
configure_single = "DP1";
|
||||
execute_after = [
|
||||
"${pkgs.xorg.xrandr}/bin/xrandr --dpi 192"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "foureighty";
|
||||
outputs_connected = [ "eDP1" ];
|
||||
configure_single = "eDP1";
|
||||
execute_after = [
|
||||
"${pkgs.xorg.xrandr}/bin/xrandr --dpi 144"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./grobi.nix
|
||||
./i3.nix
|
||||
./dunst.nix
|
||||
./autorandr.nix
|
||||
./rofi.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue