From aaaedb81e912dbc2d5938d0a67f429fe1f6b2cb7 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 1 Jul 2024 16:03:25 -0400 Subject: [PATCH] hyprland: update monitors greetd: update monitors eww: update monitors hyprlock: update monitors mako: update monitors --- home/programs/eww/config/eww.yuck | 2 +- home/programs/eww/config/widgets/menu.yuck | 2 +- home/programs/eww/config/widgets/music.yuck | 2 +- home/programs/mako.nix | 2 +- home/wayland/hyprland/config/general.nix | 4 ++-- home/wayland/hyprland/config/rules.nix | 2 ++ home/wayland/programs/hyprlock.nix | 6 +++--- home/wayland/services/greetd.nix | 4 ++-- 8 files changed, 13 insertions(+), 11 deletions(-) diff --git a/home/programs/eww/config/eww.yuck b/home/programs/eww/config/eww.yuck index 4b26ff7..58bd220 100644 --- a/home/programs/eww/config/eww.yuck +++ b/home/programs/eww/config/eww.yuck @@ -33,7 +33,7 @@ (defwindow bar - :monitor 1 + :monitor 0 :windowtype "dock" :geometry (geometry :x "0%" diff --git a/home/programs/eww/config/widgets/menu.yuck b/home/programs/eww/config/widgets/menu.yuck index 8056b87..f53517b 100644 --- a/home/programs/eww/config/widgets/menu.yuck +++ b/home/programs/eww/config/widgets/menu.yuck @@ -56,7 +56,7 @@ ) (defwindow menu-window - :monitor 1 + :monitor 0 :windowtype "dock" :geometry (geometry :x "0.9%" diff --git a/home/programs/eww/config/widgets/music.yuck b/home/programs/eww/config/widgets/music.yuck index ccf1e1e..42f0854 100644 --- a/home/programs/eww/config/widgets/music.yuck +++ b/home/programs/eww/config/widgets/music.yuck @@ -39,7 +39,7 @@ (bar-art))) (defwindow music-widget - :monitor 1 + :monitor 0 :windowtype "dock" :namespace "music-widget" :geometry (geometry diff --git a/home/programs/mako.nix b/home/programs/mako.nix index 12da6ad..84a9659 100644 --- a/home/programs/mako.nix +++ b/home/programs/mako.nix @@ -7,6 +7,6 @@ _: { defaultTimeout = 5000; ignoreTimeout = true; anchor = "top-right"; - output = "DP-2"; + output = "DP-1"; }; } diff --git a/home/wayland/hyprland/config/general.nix b/home/wayland/hyprland/config/general.nix index 30af47f..c39f900 100644 --- a/home/wayland/hyprland/config/general.nix +++ b/home/wayland/hyprland/config/general.nix @@ -4,8 +4,8 @@ monitor = [ "HDMI-A-1,1920x1080@60, 3640x560, auto, transform, 3" #right "DP-3,1920x1080@60, 0x560, auto, transform, 1" #left - "DP-2,2560x1440@144, 1080x1080, auto" #middle - "DP-1,1920x1080@144, 1400x0, auto" #top + "DP-2,1920x1080@144, 1400x0, auto" #top + "DP-1,2560x1440@144, 1080x1080, auto" #middle ]; exec-once = [ "eww open bar" diff --git a/home/wayland/hyprland/config/rules.nix b/home/wayland/hyprland/config/rules.nix index eba7d54..0091c24 100644 --- a/home/wayland/hyprland/config/rules.nix +++ b/home/wayland/hyprland/config/rules.nix @@ -14,6 +14,8 @@ _: { "size 1200 600, title:^(satty)$" "idleinhibit focus, class:^(mpv)$" "idleinhibit always, class:^(firefox)$, title:^(.*YouTube.*|.*Twitch.*)$" + "idleinhibit always, class:^(OBS Studio)$" + "idleinhibit always, class:^(Moonlight)$" "idleinhibit fullscreen, class:^(firefox)$" ]; layerrule = [ diff --git a/home/wayland/programs/hyprlock.nix b/home/wayland/programs/hyprlock.nix index c82bafd..4943634 100644 --- a/home/wayland/programs/hyprlock.nix +++ b/home/wayland/programs/hyprlock.nix @@ -43,7 +43,7 @@ _: { }; input-field = [ { - monitor = "DP-2"; + monitor = "DP-1"; size = "350, 50"; outline_thickness = 2; outer_color = "rgb(f7768e)"; @@ -67,7 +67,7 @@ _: { ]; label = [ { - monitor = "DP-2"; + monitor = "DP-1"; text = '' Hi, $USER ''; @@ -80,7 +80,7 @@ _: { shadow_boost = 1.0; } { - monitor = "DP-2"; + monitor = "DP-1"; text = "$TIME"; color = "rgb(c0caf5)"; position = "0, 120"; diff --git a/home/wayland/services/greetd.nix b/home/wayland/services/greetd.nix index d455a82..0c032af 100644 --- a/home/wayland/services/greetd.nix +++ b/home/wayland/services/greetd.nix @@ -7,8 +7,8 @@ hyprlandGreetdConf = pkgs.writeText "hyprland-greetd-conf.conf" '' monitor = HDMI-A-1,disable - monitor = DP-1,disable - monitor = DP-2,2560x1440@144, 0x0, auto + monitor = DP-2,disable + monitor = DP-1,2560x1440@144, 0x0, auto monitor = DP-3,disable env = XDG_SESSION_TYPE,wayland