diff --git a/flake.lock b/flake.lock index e22cab0..bfd6594 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ }, "catppuccin": { "locked": { - "lastModified": 1718178283, - "narHash": "sha256-Syt2bvPvzcdx+VQEXckhfLw96Q2yY++vw0wHQK1NkhQ=", + "lastModified": 1718332233, + "narHash": "sha256-rY3CkOIV17tUQwa8gzPUwYsIkQdpe0NZxoSaMkw1el0=", "owner": "catppuccin", "repo": "nix", - "rev": "d34a94a17c6ec4a0c4e24b3e4336ea504d021f6d", + "rev": "9086d390586b546bbfe6f4233699a95d4faedca6", "type": "github" }, "original": { diff --git a/modules/home/hyprland/default.nix b/modules/home/hyprland/default.nix index 39983ae..d106cf5 100644 --- a/modules/home/hyprland/default.nix +++ b/modules/home/hyprland/default.nix @@ -92,12 +92,15 @@ in }; "hyprland/window" = { - max-length = 22; + max-length = 40; rewrite = { - "" = "Desktop"; + "" = "󰍹 Desktop"; "(.*) — Firefox Nightly" = "󰈹 $1"; - ".*?Discord \\| @?(.*)" = " $1"; - "WezTerm - (?:\\[.*] ?)?(.*)" = " $1"; + "(.*) - Slack" = "󰒱 $1"; + ".*?Discord \\| @?(.*)" = "󰙯 $1"; + "WezTerm - (?:\\[.*] ?)?(.*)" = " $1"; + "Telegram(?: \\((\\d+)\\))?" = " Telegram"; + "Steam" = "󰓓 Steam"; }; }; diff --git a/modules/home/shell/wezterm.lua b/modules/home/shell/wezterm.lua index 53bd727..347eee8 100644 --- a/modules/home/shell/wezterm.lua +++ b/modules/home/shell/wezterm.lua @@ -21,7 +21,7 @@ wezterm.on('user-var-changed', function(window, pane, name, value) window:set_config_overrides(overrides) end) -wezterm.on('format-window-title', function(tab, tabs) +wezterm.on('format-window-title', function(tab, pane, tabs, panes, config) local zoomed = "" if tab.active_pane.is_zoomed then