Comments (7)
I still can't get over its syntax :P
exactly which part?
@JustTemmie I was referring to rust in general, nothing related to your program, which has a great source!
I love how you use comments to explain the content. I basically use mine to ashame myself or the user
as for local games, that sounds great! p.s. chad prismlauncher user
from steam-presence.
so the "CUSTOM_GAME_OVERWRITE" section doesn't detect anything running locally, it's more just you can manually set the script to any game you want. the script can't actually detect anything running locally, though that is something i want to look into in the future
in addition games.txt isn't something the script has ever used and that config file is nothing like what this script uses, wrong format and everything :p
as for the install script, i actually wrote one the other day i just forgot to push it - unsure about how well it works. I'll go ahead and push it, if you want to test it go ahead, all pull request are welcome no matter how much you change
P.S you should probably regenerate your steam grid and steam api keys since they're leaked in the screenshot :p
from steam-presence.
Thanks, regenereted every key. :)
Also, that's interesting. After looking after it, I found what those old config files are! They're from thisother project, which happens to have the same name! huh. One more reason I probably confused the two.
I'm guessing you probably know the owner, since in their readme they state or use Temmie's "869994714093465680"
when talking about the application ID! Maybe just a "I do it in Python, you go with Rust" challenge?
This is also why I tought external processes were supported, and where the games.txt came from.
I think I will keep using your version of this going since I prefer the configuration method (python's json library is great!)
In case you care, here is my 2am-written install script. Yours looks better for sure!
#!/bin/bash
echo -e "\e[33m>>\e[0m Installing necessary python dependencies"
if python3 -m pip install -r requirements.txt; then
echo -e "\e[32m>>\e[0m Success!\n"
fi
mkdir -p ~/.config/steam-presence
if cp --backup config.json icons.txt main.py ~/.config/steam-presence; then
echo -e "\e[32m>>\e[0m Copied your configuration to $HOME/.config/steam-presence!"
fi
if echo "[Unit]
Description=Discord rich presence from Steam on Linux
Documentation=https://github.com/JustTemmie/steam-presence
[Service]
ExecStart=/home/$(whoami)/.config/steam-presence/steam-presence/main.py
Type=simple
Nice=19
SuccessExitStatus=130
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/home/$(whoami)/.config/steam-presence/steam-presence
[Install]
WantedBy=default.target" > ~/.config/systemd/user/steam-presence.service
then
echo -e "\e[32m>>\e[0m Created a systemd service in $HOME/.config/systemd/user/steam-presence.service!"
if systemctl --user enable --now ~/.config/systemd/user/steam-presence.service
then
echo -e "\e[32m>>\e[0m Enabled and started the systemd service!"
fi
fi
You forgot to push yours, and I forgot to open a pull request for mine. Seems fair to me, ahah
from steam-presence.
We do know each other but I just wanted something for myself that doesnt use as many resources as python, also i just love writing in rust haha.
from steam-presence.
I still can't get over its syntax :P
from steam-presence.
I still can't get over its syntax :P
exactly which part?
from steam-presence.
p.s i just added support for locally running games, it's explained fairly alright in the latest release https://github.com/JustTemmie/steam-presence/releases/tag/v1.6 if that helps you out
from steam-presence.
Related Issues (19)
- Discord needs to run in the background (?) HOT 3
- To specific python version in installer.sh HOT 2
- Add support for multiple accounts HOT 3
- Index Out Of Range HOT 2
- Author's name coverImageText? HOT 4
- No longer detects non steam games HOT 7
- Missing example of "DO_GAME_TITLE_AS_DESCRIPTION" in config.json HOT 2
- This is a technical question, not an issue.
- Error code 502 met when trying to fetch game (Webscraping) HOT 1
- Icons.txt error HOT 5
- Installation & Slight problem HOT 1
- Script Error Upon running /installer.sh HOT 1
- Potential Improvements HOT 2
- Errors while running "installer.sh" on Linux Mint 21.2 Xfce HOT 2
- Add short warning "Requires verified Steam account" and "Online status on Friend/Chat" HOT 1
- Detecting the "enhanced rich presence" information of steam games HOT 2
- [Feature request] HOT 2
- Errors running main.py and installer.sh HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steam-presence.