Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More software to categorize
  • Loading branch information
Mte90 committed Jan 16, 2020
1 parent 2040a92 commit 755c6f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/util/classes.ts
Expand Up @@ -20,20 +20,20 @@ interface Category {
}

export const defaultCategories: Category[] = [
{ name: ['Work'], rule: { type: 'regex', regex: 'Google Docs' } },
{ name: ['Work'], rule: { type: 'regex', regex: 'Google Docs|libreoffice|ReText' } },
{
name: ['Work', 'Programming'],
rule: { type: 'regex', regex: 'GitHub|Stack Overflow' },
rule: { type: 'regex', regex: 'GitHub|Stack Overflow|BitBucket|Gitlab|vim|Spyder|kate' },
},
{
name: ['Work', 'Programming', 'ActivityWatch'],
rule: { type: 'regex', regex: 'ActivityWatch|aw-', ignore_case: true },
},
{ name: ['Media', 'Games'], rule: { type: 'regex', regex: 'Minecraft|RimWorld' } },
{ name: ['Media', 'Video'], rule: { type: 'regex', regex: 'YouTube|Plex' } },
{ 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' } },
{ name: ['Comms', 'Email'], rule: { type: 'regex', regex: 'Gmail' } },
{ name: ['Comms', 'IM'], rule: { type: 'regex', regex: 'Messenger|Telegram|Signal|WhatsApp|Rambox|Slack' } },
{ name: ['Comms', 'Email'], rule: { type: 'regex', regex: 'Gmail|Thunderbird' } },
];

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

0 comments on commit 755c6f0

Please sign in to comment.