Skip to content

Commit

Permalink
docs: update the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vyfor committed Dec 27, 2024
1 parent 480d74c commit 8209e21
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion wiki/EXAMPLES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
# 🎨 Customization Examples

This guide showcases various creative ways to customize your Discord presence using Cord's powerful configuration system.
Learn how to customize your Discord presence in countless ways using Cord's robust configuration system. The possibilities are endless, and the only limit is your creativity!

### Customizing Icons

>![IMPORATANT] If you use a plugin manager, avoid using `require` directly in tables; instead, use them within function initializers.
```lua
config = function()
require('cord').setup {
display = {
theme = 'pastel',
},
lazy = {
-- change default idle icon to keyboard
icon = require('cord.icon').get('keyboard'),
-- or use another theme's idle icon
icon = require('cord.icon').get('idle', 'onyx'),
}
}
end
```

### Cursor Position
```lua
Expand Down

0 comments on commit 8209e21

Please sign in to comment.