From d02babb482b3189bbafec3e1ed12aa6565b6e377 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 24 Oct 2024 22:09:44 +0200 Subject: scripts: add loadconfig --- common/home/hyprland/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'common/home/hyprland') diff --git a/common/home/hyprland/default.nix b/common/home/hyprland/default.nix index edffdd6..be5fe0e 100644 --- a/common/home/hyprland/default.nix +++ b/common/home/hyprland/default.nix @@ -14,7 +14,8 @@ "$mod, Escape, exec, hyprlock" "$mod, Space, exec, wofi --show run" "$mod, O, exec, openproject" - "$mod, v, exec, openproject -e nvim" + "$mod, V, exec, openproject -e nvim" + "$mod+Shift, S, exec, loadconfig" "$mod+Shift, Return, exec, alacritty" "$mod+Shift, B, exec, firefox" @@ -132,5 +133,11 @@ swallow_regex = "^(Alacritty)$"; animate_manual_resizes = true; }; + + windowrulev2 = [ + "pin,class:^(Hyprland::WinClass::Floating)$" + "float,class:^(Hyprland::WinClass::Floating)$" + "center,class:^(Hyprland::WinClass::Floating)$" + ]; }; } -- cgit v1.2.3-70-g09d2