From 31b1cd54d39b792d59be58ccc3e26c2c4bb07b6f Mon Sep 17 00:00:00 2001 From: File Magic Date: Wed, 27 May 2026 01:14:26 -0400 Subject: [PATCH] hyprland.nix: make base setup for monitors and fix hyprland install --- hyprland.nix | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/hyprland.nix b/hyprland.nix index a84da62..dd6f7f8 100644 --- a/hyprland.nix +++ b/hyprland.nix @@ -50,9 +50,9 @@ let ) (lib.range 1 10); startupScript = pkgs.pkgs.writeShellScriptBin "start" '' - ${pkgs.waybar}/bin/waybar & + waybar & gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" - walker --gapplication-service + elephant & dunst hyprlock & ''; @@ -69,18 +69,20 @@ in position = "0x0"; scale = "1.0"; } - # { - # output = "DP-1"; - # mode = "2560x1080@200.00Hz"; - # position = "0x1920"; - # scale = "1.0"; - # } - # { - # output = "HDMI-A-1"; - # mode = "1920x1080@119.98Hz"; - # position = "1920x0"; - # scale = "1.0"; - # } + { + output = "DP-1"; + mode = "2560x1080@200.00Hz"; + position = "auto-right"; + scale = "1.0"; + transform = 1; + } + { + output = "HDMI-A-1"; + mode = "1920x1080@119.98Hz"; + position = "auto-left"; + scale = "1.0"; + transform = 3; + } ]; config = { @@ -219,7 +221,7 @@ in # Window management (bind "SUPER + Q" dsp.close) - (bind "SUPER + SHIFT + Q" dsp.exit) + (bind "SUPER + SHIFT + E" dsp.exit) (bind "SUPER + L" (dsp.exec "hyprlock")) (bind "SUPER + T" dsp.float) (bind "SUPER + F" dsp.fullscreen) -- 2.51.2