Skip to content

Commit

Permalink
fix: add a default color for Media category (#593)
Browse files Browse the repository at this point in the history
* add a default color for Media category

* fix: change rules to None not null
  • Loading branch information
0xbrayo authored Jul 9, 2024
1 parent ba1305d commit 6ed3e83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/util/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ export const defaultCategories: Category[] = [
{ name: ['Work', 'Video'], rule: { type: 'regex', regex: 'Kdenlive' } },
{ name: ['Work', 'Audio'], rule: { type: 'regex', regex: 'Audacity' } },
{ name: ['Work', '3D'], rule: { type: 'regex', regex: 'Blender' } },
{
name: ['Media'],
rule: { type: 'none' },
data: { color: '#F33' },
},
{
name: ['Media', 'Games'],
rule: { type: 'regex', regex: 'Minecraft|RimWorld' },
Expand Down Expand Up @@ -79,7 +84,7 @@ export const defaultCategories: Category[] = [
},
{
name: ['Comms'],
rule: { type: null },
rule: { type: 'none' },
data: { color: '#9FF' },
},
{
Expand Down

1 comment on commit 6ed3e83

@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.12.3b18 (click to expand)

Screenshots using aw-server-rust master (click to expand)

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

Please sign in to comment.