No description
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-03 11:20:53 -04:00
.gitignore v1.0.0 2024-10-03 07:57:03 -04:00
config.json.example v1.0.0 2024-10-03 07:57:03 -04:00
index.js add more cases for when there are spaces or dashes 2024-10-03 11:20:53 -04:00
package-lock.json v1.0.0 2024-10-03 07:57:03 -04:00
package.json v1.0.0 2024-10-03 07:57:03 -04:00
README.md modified: README.md 2024-10-03 08:13:27 -04:00

Gnome Wayland Discord Rich Presence

This shows the active window in your Discord status including the application icon

Features

  • Detects the currently active window on Gnome Wayland
  • Finds and uploads application icons to Imgur
  • Updates Discord Rich Presence with the active application and its icon
  • Caches uploaded icons to reduce API calls

Prerequisites

Installation

  1. Clone this repository:

    git clone https://github.com/0xgingi/gnome-wayland-discord-rpc.git
    cd gnome-wayland-discord-rpc
    
  2. Install dependencies:

    npm install
    
  3. Create a config.json file in the project root with your Discord and Imgur credentials:

    {
      "DISCORD_CLIENT_ID": "your_discord_client_id_here", // I recommend setting the name as your Distro or something
      "IMGUR_CLIENT_ID": "your_imgur_client_id_here"
    }
    

Usage

npm run start