Added media, menu, network and power modules to bar.

This commit is contained in:
Jas Singh
2024-06-09 03:44:16 -07:00
parent 6ff50006f2
commit 3579e563b8
17 changed files with 156 additions and 27 deletions

View File

@@ -15,8 +15,10 @@ const filterTitle = (titleString) => {
[" ", "󰇄 Desktop"],
["(.*) Spotify Free", "󰓇 Spotify"],
["(.*)Spotify Premium", "󰓇 Spotify"],
["Spotify", "󰓇 Spotify"],
[" ~", " Terminal"],
["(.*) - Obsidian(.*)", "󱓧 Obsidian"],
["(.*)", `󰣆 ${titleString.charAt(0).toUpperCase() + titleString.slice(1)}`],
];
const foundMatch = windowTitleMap.find((wt) =>