From 92da9fe20def40d228e45d4667e815f86cccd822 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Wed, 14 Aug 2024 23:34:51 +0700 Subject: [PATCH] hyprland: update swallow regex to include footclient and exclude foot --- home/modules/hyprland/hyprland.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/modules/hyprland/hyprland.nix b/home/modules/hyprland/hyprland.nix index 242c704..1484fcf 100644 --- a/home/modules/hyprland/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -89,7 +89,7 @@ in # https://wiki.hyprland.org/Configuring/Binds bind = [ # Programs - ''$mod, RETURN, exec, foot'' + ''$mod, RETURN, exec, footclient'' "$mod, E, exec, thunar" "$mod, B, exec, microsoft-edge" "$mod, D, exec, rofi -show drun -replace -i" @@ -191,7 +191,8 @@ in disable_splash_rendering = true; focus_on_activate = true; enable_swallow = true; - swallow_regex = "^(Alacritty|kitty|footclient|org\.wezfurlong\.wezterm|foot)$"; + swallow_regex = "^(foot|footclient)$"; + swallow_exception_regex = "^(foot)$"; }; animations = {