Skip to content

Commit

Permalink
Combine aw-webui PR #173
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzymiglet committed Feb 16, 2020
1 parent 755c6f0 commit 0b9da98
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/util/classes.ts
Expand Up @@ -31,9 +31,10 @@ export const defaultCategories: Category[] = [
},
{ name: ['Media', 'Games'], rule: { type: 'regex', regex: 'Minecraft|RimWorld' } },
{ name: ['Media', 'Video'], rule: { type: 'regex', regex: 'YouTube|Plex|VLC' } },
{ name: ['Media', 'Social Media'], rule: { type: 'regex', regex: 'reddit|Facebook|Twitter|Instagram', ignore_case: true } },
{ name: ['Comms', 'IM'], rule: { type: 'regex', regex: 'Messenger|Telegram|Signal|WhatsApp|Rambox|Slack' } },
{ name: ['Comms', 'Email'], rule: { type: 'regex', regex: 'Gmail|Thunderbird' } },
{ name: ['Media', 'Social Media'], rule: { type: 'regex', regex: 'reddit|Facebook|Twitter|Instagram|devRant', ignore_case: true } },
{ name: ['Media', 'Music'], rule: { type: 'regex', regex: 'Spotify|Deezer', ignore_case: true } },
{ name: ['Comms', 'IM'], rule: { type: 'regex', regex: 'Messenger|Telegram|Signal|WhatsApp|Rambox|Slack|Riot|Discord' } },
{ name: ['Comms', 'Email'], rule: { type: 'regex', regex: 'Gmail|Thunderbird|mutt|alpine' } },
];

export function build_category_hierarchy(classes: Category[]): Category[] {
Expand Down

0 comments on commit 0b9da98

Please sign in to comment.