some stuf

This commit is contained in:
Mars 2024-06-14 00:49:28 -04:00
parent 624c5100fd
commit 7cf1ac0c36
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
3 changed files with 11 additions and 8 deletions

View file

@ -39,11 +39,11 @@
}, },
"catppuccin": { "catppuccin": {
"locked": { "locked": {
"lastModified": 1718178283, "lastModified": 1718332233,
"narHash": "sha256-Syt2bvPvzcdx+VQEXckhfLw96Q2yY++vw0wHQK1NkhQ=", "narHash": "sha256-rY3CkOIV17tUQwa8gzPUwYsIkQdpe0NZxoSaMkw1el0=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "d34a94a17c6ec4a0c4e24b3e4336ea504d021f6d", "rev": "9086d390586b546bbfe6f4233699a95d4faedca6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -92,12 +92,15 @@ in
}; };
"hyprland/window" = { "hyprland/window" = {
max-length = 22; max-length = 40;
rewrite = { rewrite = {
"" = "Desktop"; "" = "󰍹 Desktop";
"(.*) Firefox Nightly" = "󰈹 $1"; "(.*) Firefox Nightly" = "󰈹 $1";
".*?Discord \\| @?(.*)" = " $1"; "(.*) - Slack" = "󰒱 $1";
"WezTerm - (?:\\[.*] ?)?(.*)" = " $1"; ".*?Discord \\| @?(.*)" = "󰙯 $1";
"WezTerm - (?:\\[.*] ?)?(.*)" = " $1";
"Telegram(?: \\((\\d+)\\))?" = " Telegram";
"Steam" = "󰓓 Steam";
}; };
}; };

View file

@ -21,7 +21,7 @@ wezterm.on('user-var-changed', function(window, pane, name, value)
window:set_config_overrides(overrides) window:set_config_overrides(overrides)
end) end)
wezterm.on('format-window-title', function(tab, tabs) wezterm.on('format-window-title', function(tab, pane, tabs, panes, config)
local zoomed = "" local zoomed = ""
if tab.active_pane.is_zoomed then if tab.active_pane.is_zoomed then