fetchcord / FetchCord

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

Add support for termite #133

Open raynei86 opened 3 years ago

raynei86 commented 3 years ago

Debug info

Output of fetchcord --debug

[KeyError]: 'Font:'[KeyError]: 'Font:'----run_rpc----

uptime in epoch: 1614229119.0
cpuid: 740476198437650473
cpuappid: 742887089179197462
Unknown terminal, contact us on github to resolve this.
termappid: 745691250186911796
hostappid: 744326223412461630
686 (pacman) 
----out.py----

----DE/WM----
[KeyError]: 'DE:'
deid: DE:
wmid: bspwm
wmline item 0: bspwm 

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
Unknown terminal, contact us on github to resolve this.
termid: 745691250186911796
termline item 0: termite 
[KeyError]: 'Theme:'
themeline: Theme: N/A

----HOST INFO----

hostline: 81UT Lenovo IdeaPad S145-15API 
[KeyError]: 'Battery:'
[KeyError]: 'Battery:'
batteryline: Battery: N/A
[KeyError]: 'Resolution:'
resline: Resolution: N/A

----GPU INFO----

gpuinfo: bash: line 1: glxinfo: command not found
gpuvendor: amd

----CPU INFO----

cpuline item 0: CPU: N/A
memline: 1441MiB / 5876MiB 

----OS INFO----

sysosline: Arch Linux 
sysosid: 740476198437650473
[KeyError]: 'Disk'
diskline: Disk N/A
packagesline item 0: 686 (pacman) 

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

[KeyError]: 'DE:'
deid: DE:
wmid: bspwm

----TERMINAL/SHELL----

Unknown terminal, contact us on github to resolve this.
termid: 745691250186911796
shellid: zsh

----HOST INFO----

hostid: 742887089179197462

----GPU INFO----

gpuvendor: amd

----CPU INFO----

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
Unknown terminal, contact us on github to resolve this.
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7effb76272b0>
[KeyError]: 'DE:'
Unknown DE/WM, contact us on github to resolve this.
cycle 0
[KeyError]: 'DE:'
try_update(key="cycle0") on <pypresence.presence.Presence object at 0x7effb76272b0>
appid: 740476198437650473
Closing connection.

Please run fetchcord --debug and put it here. You might also want to send the output of neofetch --noart(windows) or neofetch -- stdout(macos&linux)

Requested item

termite support

Here goes your desired os/de/wm/shell/hardware request

Other notes

seems like it picked up bspwm but it still displays "Unknown DE/WM"

Other notes about the request go here

raynei86 commented 3 years ago

Never mind, it seems to work, just very inconsistently. Is this a problem on Neofetch side?