fetchcord / FetchCord

FetchCord grabs your OS info and displays it as Discord Rich Presence
MIT License
325 stars 19 forks source link

Systemd service issue #117

Closed sticsk closed 3 years ago

sticsk commented 3 years ago

Debug info

`Symlinking XDG_RUNTIME_DIR path for Flatpak Discord. GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q [49°C] ----out.py----

----DE/WM---- deid: Plasma wmid: KWin wmline item 0: ['WM: KWin ']

----TERMINAL----

fontline: ['Font: N/A'] termid: konsole termline item 0: Terminal: konsole themeline: WM Theme: Sweet-Mars-transparent Theme: WhiteSurDark [Plasma], Cameo-Dark-OSX [GTK3]

----HOST INFO----

hostline: Host: TUF Gaming FX505DT_FX505DT 1.0 batteryline: Battery: N/A resline: Resolution: 1920x1080

----GPU INFO----

gpuinfo: GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q [49°C] gpuvendor: NVIDIAAMD

----CPU INFO----

cpuvendor: AMD cpumodel: Ryzen 5 cpuinfo: CPU: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx @ 2.100GHz cpuline item 0: ['CPU: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8) @ 2.100GHz '] memline: Memory: 2363MiB / 15877MiB

----OS INFO----

sysosline: OS: Arch Linux x86_64 sysosid: Arch diskline: Disk: N/A packagesline item 0: Packages: 1481 (pacman), 8 (flatpak)

----testing.py---- ----DE/WM----

deid: Plasma wmid: KWin

----TERMINAL/SHELL----

termid: konsole shellid: bash

----HOST INFO----

hostid: TUF

----GPU INFO----

gpuvendor: NVIDIAAMD

----CPU INFO----

cpumodel: Ryzen 5

Connecting ----run_rpc----

uptime in epoch: 1606938489.0 cpuid: 740476198437650473 cpuappid: 741152732756312125 termappid: 741286819676553258 hostappid: 744330890343219262 Packages: 1481 (pacman), 8 (flatpak) ('DEFAULT', ) ('cycle_0', ) ('cycle_1', ) ('cycle_2', ) ('cycle_3', ) RPC Connection Successful. cycle 0 appid: 740476198437650473

`

If you are unable to run FetchCord please run neofetch --noart(windows) or neofetch -- stdout(macos&linux)

Operating system & way of installation

Arch, AUR

Error/issue

Systemd service won't restart if discord closes (or even when i turn on my laptop), service status stays inactive and I actually have to do systemctl --user restart --now fetchcord by myself. Have I done something wrong?

Other notes(optional)

Running it from pip won't work btw.

Is there any way for making fetchcord service restart from time to time to verify if discord actually exists?