Skip to content

Commit

Permalink
Fix discordRPC icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Mar 4, 2025
1 parent 65586b5 commit 976e940
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 86 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,8 @@ Probably deprecate the Maps module, since I will focus my efforts on the UI syst

* The [FreeType Project](https://www.freetype.org/freetype2/docsindex.html)

* [vyfor icons](https://github.com/vyfor/icons)

* And a **lot** more people!

## Code License
Expand Down
172 changes: 86 additions & 86 deletions bin/assets/plugins/discordRPC.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,107 +3,107 @@
"appID": "1339026777158455336",
"doLanguageIcons": true,
"iconBindings": {
".htaccess": "https://github.com/vyfor/icons/raw/master/icons/onyx/gear.png",
".ignore file": "https://github.com/vyfor/icons/raw/master/icons/onyx/git.png",
"[x]it!": "https://github.com/vyfor/icons/raw/master/icons/onyx/notes.png",
"ada": "https://github.com/vyfor/icons/raw/master/icons/pastel/ada.png",
".htaccess": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/settings.png",
".ignore file": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/git.png",
"[x]it!": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/notes.png",
"ada": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/accent/ada.png",
"adept": "https://raw.github.com/AdeptLanguage/Adept/master/.github/README_logo.png",
"angelscript": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"awk script": "https://github.com/vyfor/icons/raw/master/icons/pastel/awk.png",
"bat": "https://github.com/vyfor/icons/raw/master/icons/onyx/shell.png",
"angelscript": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"awk script": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/accent/awk.png",
"bat": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/shell.png",
"bazel": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bazel_logo.svg/1024px-Bazel_logo.svg.png",
"bend": "https://avatars.githubusercontent.com/u/92327702",
"blueprint": "https://github.com/vyfor/icons/raw/master/icons/onyx/controller.png",
"brainfuck": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"buzz": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"c": "https://github.com/vyfor/icons/raw/master/icons/onyx/c.png",
"blueprint": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/controller.png",
"brainfuck": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"buzz": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"c": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/c.png",
"carbon": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Carbon_logo.png",
"clojure": "https://github.com/vyfor/icons/raw/master/icons/onyx/clojure.png",
"clojure": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/clojure.png",
"cmake": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/CMake_logo.svg/1024px-CMake_logo.svg.png",
"cpp": "https://github.com/vyfor/icons/raw/master/icons/onyx/cpp.png",
"crystal": "https://github.com/vyfor/icons/raw/master/icons/onyx/crystal.png",
"csharp": "https://github.com/vyfor/icons/raw/master/icons/onyx/csharp.png",
"css": "https://github.com/vyfor/icons/raw/master/icons/onyx/css.png",
"d": "https://github.com/vyfor/icons/raw/master/icons/onyx/d.png",
"dart": "https://github.com/vyfor/icons/raw/master/icons/onyx/dart.png",
"diff": "https://github.com/vyfor/icons/raw/master/icons/onyx/diagnostics.png",
"dockerfile": "https://github.com/vyfor/icons/raw/master/icons/onyx/docker.png",
"elixir": "https://github.com/vyfor/icons/raw/master/icons/onyx/elixir.png",
"elm": "https://github.com/vyfor/icons/raw/master/icons/onyx/elm.png",
"environment file": "https://github.com/vyfor/icons/raw/master/icons/onyx/gear.png",
"cpp": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/cpp.png",
"crystal": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/crystal.png",
"csharp": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/csharp.png",
"css": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/css.png",
"d": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/d.png",
"dart": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/dart.png",
"diff": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/diagnostics.png",
"dockerfile": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/docker.png",
"elixir": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/elixir.png",
"elm": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/elm.png",
"environment file": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/gear.png",
"fantom": "https://avatars.githubusercontent.com/u/54911692",
"fortran": "https://github.com/vyfor/icons/raw/master/icons/onyx/fortran.png",
"fstab": "https://github.com/vyfor/icons/raw/master/icons/onyx/gear.png",
"gdscript": "https://github.com/vyfor/icons/raw/master/icons/onyx/godot.png",
"glsl": "https://github.com/vyfor/icons/raw/master/icons/onyx/opengl.png",
"go": "https://github.com/vyfor/icons/raw/master/icons/onyx/go.png",
"graphql": "https://github.com/vyfor/icons/raw/master/icons/onyx/graphql.png",
"groovy": "https://github.com/vyfor/icons/raw/master/icons/onyx/groovy.png",
"fortran": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/fortran.png",
"fstab": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/gear.png",
"gdscript": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/godot.png",
"glsl": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/shader.png",
"go": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/go.png",
"graphql": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/graphql.png",
"groovy": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/groovy.png",
"hare": "https://harelang.org/mascot.png",
"haskell": "https://github.com/vyfor/icons/raw/master/icons/onyx/haskell.png",
"haxe": "https://github.com/vyfor/icons/raw/master/icons/pastel/haxe.png",
"haxe compiler arguments": "https://github.com/vyfor/icons/raw/master/icons/onyx/haxe.png",
"hlsl": "https://github.com/vyfor/icons/raw/master/icons/onyx/diagnostics.png",
"html": "https://github.com/vyfor/icons/raw/master/icons/onyx/html.png",
"ini": "https://github.com/vyfor/icons/raw/master/icons/onyx/gear.png",
"jai": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"java": "https://github.com/vyfor/icons/raw/master/icons/onyx/java.png",
"javascript": "https://github.com/vyfor/icons/raw/master/icons/onyx/javascript.png",
"javascriptreact": "https://github.com/vyfor/icons/raw/master/icons/onyx/react.png",
"json": "https://github.com/vyfor/icons/raw/master/icons/onyx/json.png",
"julia": "https://github.com/vyfor/icons/raw/master/icons/onyx/julia.png",
"kotlin": "https://github.com/vyfor/icons/raw/master/icons/onyx/kotlin.png",
"latex": "https://github.com/vyfor/icons/raw/master/icons/onyx/latex.png",
"lobster": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"lua": "https://github.com/vyfor/icons/raw/master/icons/onyx/latex.png",
"makefile": "https://github.com/vyfor/icons/raw/master/icons/onyx/diagnostics.png",
"markdown": "https://github.com/vyfor/icons/raw/master/icons/onyx/markdown.png",
"meson": "https://github.com/vyfor/icons/raw/master/icons/onyx/diagnostics.png",
"moonscript": "https://github.com/vyfor/icons/raw/master/icons/onyx/lua.png",
"haskell": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/haskell.png",
"haxe": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/accent/haxe.png",
"haxe compiler arguments": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/haxe.png",
"hlsl": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/diagnostics.png",
"html": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/html.png",
"ini": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/gear.png",
"jai": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"java": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/java.png",
"javascript": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/javascript.png",
"javascriptreact": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/react.png",
"json": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/json.png",
"julia": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/julia.png",
"kotlin": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/kotlin.png",
"latex": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/latex.png",
"lobster": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"lua": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/latex.png",
"makefile": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/diagnostics.png",
"markdown": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/markdown.png",
"meson": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/diagnostics.png",
"moonscript": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/lua.png",
"nelua": "https://nelua.io/assets/img/nelua-logo-64px.png",
"nim": "https://github.com/vyfor/icons/raw/master/icons/onyx/nim.png",
"objeck": "https://github.com/vyfor/icons/raw/master/icons/onyx/gear.png",
"objective-c": "https://github.com/vyfor/icons/raw/master/icons/onyx/c.png",
"ocaml": "https://github.com/vyfor/icons/raw/master/icons/onyx/ocaml.png",
"odin": "https://github.com/vyfor/icons/raw/master/icons/onyx/odin.png",
"nim": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/nim.png",
"objeck": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/gear.png",
"objective-c": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/c.png",
"ocaml": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/ocaml.png",
"odin": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/odin.png",
"openscad": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Openscad.svg/1024px-Openscad.svg.png",
"pascal": "https://github.com/vyfor/icons/raw/master/icons/onyx/pascal.png",
"perl": "https://github.com/vyfor/icons/raw/master/icons/onyx/perl.png",
"php": "https://github.com/vyfor/icons/raw/master/icons/onyx/php.png",
"pascal": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/pascal.png",
"perl": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/perl.png",
"php": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/php.png",
"pico-8": "https://www.lexaloffle.com/gfx/p8b_pico8.png",
"plaintext": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"po": "https://github.com/vyfor/icons/raw/master/icons/onyx/gnu.png",
"plaintext": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"po": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/gnu.png",
"pony": "https://avatars.githubusercontent.com/u/12997238",
"postgresql": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Postgresql_elephant.svg/1024px-Postgresql_elephant.svg.png",
"powershell": "https://github.com/vyfor/icons/raw/master/icons/onyx/powershell.png",
"python": "https://github.com/vyfor/icons/raw/master/icons/onyx/python.png",
"r": "https://github.com/vyfor/icons/raw/master/icons/onyx/r.png",
"ring": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"ruby": "https://github.com/vyfor/icons/raw/master/icons/onyx/ruby.png",
"rust": "https://github.com/vyfor/icons/raw/master/icons/onyx/rust.png",
"sass": "https://github.com/vyfor/icons/raw/master/icons/onyx/scss.png",
"scala": "https://github.com/vyfor/icons/raw/master/icons/onyx/scala.png",
"shellscript": "https://github.com/vyfor/icons/raw/master/icons/onyx/shell.png",
"smallbasic": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"solidity": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"sql": "https://github.com/vyfor/icons/raw/master/icons/onyx/sql.png",
"swift": "https://github.com/vyfor/icons/raw/master/icons/onyx/swift.png",
"tcl": "https://github.com/vyfor/icons/raw/master/icons/onyx/text.png",
"powershell": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/powershell.png",
"python": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/python.png",
"r": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/r.png",
"ring": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"ruby": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/ruby.png",
"rust": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/rust.png",
"sass": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/sass.png",
"scala": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/scala.png",
"shellscript": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/shell.png",
"smallbasic": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"solidity": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"sql": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/database.png",
"swift": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/swift.png",
"tcl": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/text.png",
"teal": "https://avatars.githubusercontent.com/u/62526430",
"toml": "https://github.com/vyfor/icons/raw/master/icons/onyx/toml.png",
"typescript": "https://github.com/vyfor/icons/raw/master/icons/onyx/typescript.png",
"typescriptreact": "https://github.com/vyfor/icons/raw/master/icons/onyx/react.png",
"v": "https://github.com/vyfor/icons/raw/master/icons/onyx/v.png",
"vala": "https://github.com/vyfor/icons/raw/master/icons/onyx/vala.png",
"verilog": "https://github.com/vyfor/icons/raw/master/icons/onyx/assembly.png",
"toml": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/toml.png",
"typescript": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/typescript.png",
"typescriptreact": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/react.png",
"v": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/v.png",
"vala": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/vala.png",
"verilog": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/assembly.png",
"visual basic": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/VB.NET_Logo.svg/1024px-VB.NET_Logo.svg.png",
"vue": "https://github.com/vyfor/icons/raw/master/icons/onyx/vue.png",
"vue": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/vue.png",
"wren": "https://avatars.githubusercontent.com/u/45213573",
"x86 assembly": "https://github.com/vyfor/icons/raw/master/icons/onyx/assembly.png",
"xml": "https://github.com/vyfor/icons/raw/master/icons/onyx/xml.png",
"xtend": "https://github.com/vyfor/icons/raw/master/icons/onyx/java.png",
"yaml": "https://github.com/vyfor/icons/raw/master/icons/onyx/yaml.png",
"zig": "https://github.com/vyfor/icons/raw/master/icons/onyx/zig.png"
"x86 assembly": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/assembly.png",
"xml": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/xml.png",
"xtend": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/java.png",
"yaml": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/yaml.png",
"zig": "https://raw.githubusercontent.com/vyfor/icons/master/icons/default/dark/zig.png"
}
},
"keybindings": {}
Expand Down
2 changes: 2 additions & 0 deletions src/tools/ecode/plugins/discordRPC/discordRPCplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ void DiscordRPCplugin::loadDiscordRPCConfig( const std::string& path, bool updat
if ( j.contains( "config" ) ) {
auto& config = j["config"];

// Icon bindings are being provided thanks to vyfor icons: https://github.com/vyfor/icons
// Icon licenses at: https://github.com/vyfor/icons/blob/master/LICENSE.md
if ( config.contains( "iconBindings" ) ) {
auto newConfig = config["iconBindings"];
if ( mLangBindings.empty() )
Expand Down

0 comments on commit 976e940

Please sign in to comment.