Rename display.conf to extra.conf

Auto start teams on Ronin
This commit is contained in:
Evie Litherland-Smith 2023-09-04 08:53:41 +01:00
parent 4a9b2459e2
commit 29c872f5e3
5 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ lib, pkgs, hostName, ... }: { pkgs, hostName, ... }:
{ {
# accounts.emails.accounts = {}; # TODO # accounts.emails.accounts = {}; # TODO

View file

@ -7,7 +7,7 @@ let
swaylockPackage = pkgs.swaylock-effects; swaylockPackage = pkgs.swaylock-effects;
in '' in ''
source = ./macchiato.conf source = ./macchiato.conf
source = ./display.conf source = ./extra.conf
monitor=,preferred,auto,auto monitor=,preferred,auto,auto
env = XDG_CURRENT_DESKTOP=Hyprland env = XDG_CURRENT_DESKTOP=Hyprland

View file

@ -1,4 +1,4 @@
{ pkgs, config, hyprland, anyrun, wallpapers, ... }: { config, lib, pkgs, hyprland, anyrun, wallpapers, ... }:
let let
configure-gtk = pkgs.writeTextFile { configure-gtk = pkgs.writeTextFile {
name = "configure-gtk"; name = "configure-gtk";
@ -60,5 +60,6 @@ in {
wallpaper = ,${wallpapers.outputs.default} wallpaper = ,${wallpapers.outputs.default}
''; '';
"hypr/macchiato.conf".source = ./macchiato.conf; "hypr/macchiato.conf".source = ./macchiato.conf;
"hypr/extra.conf".source = lib.mkDefault "";
}; };
} }

View file

@ -202,14 +202,17 @@ in {
]; ];
}; };
}; };
xdg.configFile."hypr/display.conf".text = '' xdg.configFile."hypr/extra.conf".text = ''
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = true disable_splash_rendering = true
} }
monitor=eDP-1,preferred,auto,1 monitor=eDP-1,preferred,auto,1
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1 monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1 monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1 monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
exec-once=${pkgs.teams-for-linux}/bin/teams-for-linux
''; '';
} }

View file

@ -8,7 +8,7 @@ in {
stateVersion = "22.11"; stateVersion = "22.11";
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
xdg.configFile."hypr/display.conf".text = '' xdg.configFile."hypr/extra.conf".text = ''
misc { misc {
vrr = 2 vrr = 2
} }