Skip to content

Commit

Permalink
Additional default app categorization
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Jan 19, 2022
1 parent fc71a01 commit ec49a1d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/util/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ const COLOR_GREEN = '#96cd39',
export const defaultCategories: Category[] = [
{
name: ['Work', 'Writing'],
rule: { type: 'regex', regex: 'Google Docs|Google Sheets|libreoffice|ReText|TextEdit|MacDown' },
rule: { type: 'regex', regex: 'Google Docs|Google Sheets|libreoffice|ReText' },
data: { color: COLOR_GREEN },
},
{
name: ['Work', 'Writing'],
rule: { type: 'regex', select_keys: ['app'], regex: 'LibreOffice|TextEdit|MacDown' },
rule: { type: 'regex', select_keys: ['app'], regex: 'LibreOffice|TextEdit|MacDown|Obsidian|TextEdit' },
data: { color: COLOR_GREEN },
},
{
Expand All @@ -51,7 +51,7 @@ export const defaultCategories: Category[] = [
name: ['Work', 'Programming'],
rule: {
type: 'regex',
regex: 'GitHub|Stack Overflow|BitBucket|Gitlab|vim|Spyder|kate|iTerm|Script Editor|Ghidra|Scite',
regex: 'GitHub|Stack Overflow|BitBucket|Gitlab|vim|Spyder|kate|iTerm|Hyper|Alacritty|Script Editor|Ghidra|Scite',
},
data: { color: COLOR_SUPER_GREEN },
},
Expand All @@ -65,7 +65,7 @@ export const defaultCategories: Category[] = [
rule: {
type: 'regex',
select_keys: ['app'],
regex: 'Code|Sublime Text|TextMate|iTerm|Script Editor|Base',
regex: 'Code|Sublime Text|TextMate|iTerm|Script Editor|Base|Postico',
},
data: { color: COLOR_SUPER_GREEN },
},
Expand Down Expand Up @@ -101,7 +101,7 @@ export const defaultCategories: Category[] = [
name: ['Media', 'Music'],
rule: {
type: 'regex',
regex: 'Spotify|Deezer',
regex: 'Spotify|Deezer|Amazon Music',
ignore_case: true,
},
data: { color: '#A8FC00' },
Expand All @@ -127,7 +127,7 @@ export const defaultCategories: Category[] = [
},
{
name: ['Comms', 'Meetings'],
rule: { type: 'regex', regex: 'Zoom|Calendar' },
rule: { type: 'regex', regex: 'Zoom|Calendar|Cron' },
data: { color: COLOR_ORANGE_GREEN },
},
{
Expand Down

1 comment on commit ec49a1d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.11.0 (click to expand)

Screenshots using aw-server-rust v0.11.0 (click to expand)

CML watermark

Please sign in to comment.