From 78c7c4a0bc95ccd6c41f3a648ca67785ea6946af Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 17 Oct 2024 12:00:18 +0700 Subject: [PATCH] waybar: added rewrite rule for window titles --- home/modules/hyprland/waybar.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home/modules/hyprland/waybar.nix b/home/modules/hyprland/waybar.nix index 83a0d0a..a8a7e75 100644 --- a/home/modules/hyprland/waybar.nix +++ b/home/modules/hyprland/waybar.nix @@ -110,6 +110,14 @@ let tooltip = false; }; + "hyprland/window" = { + rewrite = { + "(.*) - Microsoft Edge$" = " $1"; + "(.*) - NVIM" = " $1"; + "^foot$" = " Foot"; + }; + }; + "custom/notification" = { tooltip = false; format = "{icon}";