Split hypr config by host

This commit is contained in:
TheWanderingCrow 2024-09-23 07:34:53 -04:00
parent 3a7832d4c5
commit 77f6a14f73
4 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,9 @@
username = "crow";
homeDirectory = "/home/crow";
stateVersion = "24.05";
file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
file.".config/hypr/hyprland.conf".source = ./hypr/hyprland.conf;
file.".config/hypr/monitors.conf".source = lib.mkIf config.networking.hostName == "Parzival" ./hypr/parzival-monitors.conf
file.".config/hypr/monitors.conf".source = lib.mkIf config.networking.hostName == "Parzival-Mobile" ./hypr/parzival_mobile-monitors.conf
};
xdg = {

View file

@ -3,9 +3,7 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-2, 2560x1440@144, 0x0, 1
monitor = HDMI-A-1, 1920x1080@75, -2560x250, 1, transform, 1
source = /home/crow/.config/hypr/monitors.conf
###################
### MY PROGRAMS ###

View file

@ -0,0 +1,2 @@
monitor=HDMI-A-1,1920x1080@74.97,0x0,1.0,transform,1
monitor=DP-2,2560x1440@169.83,1080x215,1.0