From 4ed7c24171b1c9ed5de6a864dc59b4fe709256df Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 1 Dec 2023 21:19:37 +0100 Subject: [PATCH] Hyprland: set primary monitor --- modules/hm/hyprland.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index d842e41..e45983f 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -48,14 +48,15 @@ '' monitor=eDP-1,preferred,320x1440,1 monitor=DP-1,preferred,0x0,1 - '' else "" + '' + else "" } # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch - exec-once = waybar & swww init & blueman-applet & nm-applet & systemctl --user restart swayidle # & firefox + exec-once = ${if nixosConfig.networking.hostName == "thor" then "xrandr --output DP-2 --primary" else ""} waybar & swww init & blueman-applet & nm-applet & systemctl --user restart swayidle # & firefox # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf