From c34124246e19791265ab07949dafbbedea1bcec0 Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 30 Nov 2024 11:58:58 -0500 Subject: [PATCH] hyprland: update config --- home/wayland/hyprland/config/binds.nix | 4 +--- home/wayland/hyprland/config/general.nix | 13 +++++++------ home/wayland/hyprland/config/rules.nix | 3 ++- home/wayland/hyprland/default.nix | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/home/wayland/hyprland/config/binds.nix b/home/wayland/hyprland/config/binds.nix index 5a95ef2..9e26257 100644 --- a/home/wayland/hyprland/config/binds.nix +++ b/home/wayland/hyprland/config/binds.nix @@ -9,6 +9,7 @@ _: { "$mainMod, R, exec, anyrun" "$mainMod, P, pseudo," "$mainMod, J, togglesplit," + "$mainMod, C, exec, hyprpicker | wl-copy" "$mainMod, left, movefocus, l" "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" @@ -34,9 +35,6 @@ _: { "$mainMod SHIFT, 8, movetoworkspace, 8" "$mainMod SHIFT, 9, movetoworkspace, 9" "$mainMod SHIFT, 0, movetoworkspace, 10" - - "$mainMod, mouse_down, workspace, e+1" - "$mainMod, mouse_up, workspace, e-1" ]; bindm = [ "$mainMod, mouse:272, movewindow" diff --git a/home/wayland/hyprland/config/general.nix b/home/wayland/hyprland/config/general.nix index bc9717c..4aa91d9 100644 --- a/home/wayland/hyprland/config/general.nix +++ b/home/wayland/hyprland/config/general.nix @@ -38,15 +38,16 @@ passes = 3; new_optimizations = true; }; + shadow = { + enabled = true; + range = 60; + offset = "0 5"; + render_power = 4; + color = "rgba(00000099)"; + }; inactive_opacity = 1.0; active_opacity = 1.0; fullscreen_opacity = 1.0; - - drop_shadow = true; - shadow_range = 60; - shadow_offset = "0 5"; - shadow_render_power = 4; - "col.shadow" = "rgba(00000099)"; }; animations = { enabled = true; diff --git a/home/wayland/hyprland/config/rules.nix b/home/wayland/hyprland/config/rules.nix index 0091c24..89ec066 100644 --- a/home/wayland/hyprland/config/rules.nix +++ b/home/wayland/hyprland/config/rules.nix @@ -10,12 +10,13 @@ _: { "float, title:^(Lutris)$" "float, title:^(satty)$" "move 850 360, title:^(RuneLite)$" - "size 830 600, title:^(RuneLite)$" + # "size 800 560, title:^(RuneLite)$" "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 always, class:^(VRChat)$" "idleinhibit fullscreen, class:^(firefox)$" ]; layerrule = [ diff --git a/home/wayland/hyprland/default.nix b/home/wayland/hyprland/default.nix index 594a9ef..13f8cb3 100644 --- a/home/wayland/hyprland/default.nix +++ b/home/wayland/hyprland/default.nix @@ -4,7 +4,7 @@ ./config/general.nix ./config/binds.nix ./config/rules.nix - ./config/plugins.nix + # ./config/plugins.nix ]; wayland.windowManager.hyprland = { enable = true;