Skip to content

acayrin/ldrpc-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

linux-discord-rich-presence config

personal config for linux-discord-rich-presence

Demo

requirements

jq

variables

CONF_DISCORD_APPID=<int> # app id, acquire from discord developer portal <required>
CONF_DISCORD_USER_TOKEN=<str> # user token, for interacting with the discord user api, acquire from a browser's Dev tools [optional]
CONF_INTERVAL=<int> # interval in seconds between each state update, default to 5s [optional]

running

$ env CONF_DISCORD_APPID=<app-id> ... linux-discord-rich-presence --config /path/to/config

module: mpris

show current playing media as status

additionally upload thumbnails (if any) to discord directly and display them as large_image

requirements

playerctl, imagemagick, ffmpeg

variables

CONF_MPRIS_PLAYER=<str> # which mpris player should be used, default to Music Player Daemon [optional]
CONF_MEDIA_PATH=<str> # path to media directory, mostly for Music Player Daemon [required for MPD]

module: wayland focused window

show current focused window as status

show "Desktop" while no window is focused

only Sway and Hyprland is supported

Releases

No releases published

Packages

 
 
 

Contributors

Languages