From fc418c891ee5254d9bbfa971849337f908d16a4c Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 8 Sep 2024 11:26:52 -0500 Subject: [PATCH] Add floating term bind --- user/wm/hyprland/hyprland.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 30b9db4..078820e 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -165,6 +165,8 @@ in bind=SUPER,RETURN,exec,'' + userSettings.term + '' + bind=SUPERSHIFT,RETURN,exec,'' + userSettings.term + " " + '' --class float_term + bind=SUPER,A,exec,'' + userSettings.spawnEditor + '' bind=SUPER,S,exec,'' + userSettings.spawnBrowser + '' @@ -266,6 +268,10 @@ in windowrulev2 = workspace special:scratch_term ,$scratch_term windowrulev2 = center,$scratch_term + $float_term = class:^(float_term)$ + windowrulev2 = float,$float_term + windowrulev2 = center,$float_term + $scratch_ranger = class:^(scratch_ranger)$ windowrulev2 = float,$scratch_ranger windowrulev2 = $scratchpadsize,$scratch_ranger