You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you have installed Python modules **[PyGObject](https://pypi.org/project/PyGObject/)**, **[requests](https://pypi.org/project/requests/)**
32
+
Make sure you have installed the following Python modules:**[PyGObject](https://pypi.org/project/PyGObject/)**, **[requests](https://pypi.org/project/requests/)**
33
33
and **[vdf](https://pypi.org/project/vdf/)**. You can use your package manager or pip3 to install them.
34
34
35
-
Example (after you clone the respository): `pip3 install -r requirements.txt --user`
35
+
Example (after you clone the repository): `pip3 install -r requirements.txt --user`
36
36
37
-
Also make sure you have **[xdotool](https://www.mankier.com/1/xdotool)** installed. It should be available in the official repositories.
37
+
Also, make sure you have **[xdotool](https://www.mankier.com/1/xdotool)** installed. It should be available in the official repositories.
38
38
39
39
After that, all you need to do is **clone** this repository:
40
40
```
@@ -46,7 +46,7 @@ Gentoo users may use [ebuild](https://github.com/BlueManCZ/edgets/blob/master/ap
46
46
47
47
Arch users may use [pkgbuild](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=sif-git) from the [AUR](https://aur.archlinux.org/packages/sif-git/).
48
48
49
-
Fedora and other RPM-based distro users can use the [COPR Repository](https://copr.fedorainfracloud.org/coprs/chapien/SIF). Install with:
49
+
Fedora and other RPM-based distro users can use the [COPR Repository](https://copr.fedorainfracloud.org/coprs/chapien/SIF). Install it with:
50
50
```shell
51
51
sudo dnf copr enable chapien/SIF
52
52
sudo dnf install sif-steam
@@ -70,7 +70,7 @@ or:
70
70
71
71
### Apply
72
72
73
-
If commands above worked without a problem, you can **apply** the fix:
73
+
If the commands above worked without a problem, you can **apply** the fix:
74
74
```
75
75
./sif.py
76
76
```
@@ -84,50 +84,50 @@ You can also fix only one specific game:
84
84
```
85
85
86
86
### Restore
87
-
If you want to **remove** all changes and restore default icons:
87
+
If you want to **remove** all changes and restore the default icons:
88
88
```
89
89
./sif.py --restore
90
90
```
91
91
92
92
# Contribution
93
93
94
-
For the fix to work, I need to know WM_CLASS of each individual game.
94
+
For the fix to work, I need to know the WM_CLASS of each individual game.
95
95
I can create fixes only for games which I have installed and I can get
96
96
their WM_CLASS.
97
97
98
-
If you want append your game to our database, you have to know **APP_ID**
99
-
and **WM_CLASS** of this game.
98
+
If you want to append your game to our database, you have to know the**APP_ID**
99
+
and **WM_CLASS** of the game.
100
100
101
101
#### Get APP_ID
102
102
103
-
There are multiple ways, how to get APP_ID of Steam game.
103
+
There are multiple waysto get an APP_ID of a Steam game.
104
104
105
105
1. You can use `./sif.py --games` to get APP_IDs of all installed games.
106
-
2. From the [steamdb.info](https://steamdb.info/).
107
-
3. From the [store.steampowered.com](https://store.steampowered.com/) URL address.
106
+
2. From [SteamDB](https://steamdb.info/).
107
+
3. From [Steam's](https://store.steampowered.com/) URL address.
108
108
109
109
110
110
#### Get WM_CLASS
111
111
112
-
Users with xorg can use xprop tool.
112
+
Users with xorg can use the xprop tool.
113
113
114
-
1. Start your game from Steam library.
115
-
2. Open new terminal window and run `xprop WM_CLASS`.
116
-
3. Switch to the game window with Alt-Tab and left click with mouse on it.
114
+
1. Start your game from your Steam library.
115
+
2. Open a new terminal window and run `xprop WM_CLASS`.
116
+
3. Switch to the game window with Alt-Tab and left click on it with the mouse.
117
117
4. Switch back to the terminal and get your WM_CLASS.
118
118
119
119
#### Missing WM_CLASS?
120
120
121
-
Some games have their WM_CLASS missing. In this case you can use a WM_NAME of the game. `xprop WM_NAME`
121
+
Some games have their WM_CLASS missing. In this case you can get the WM_NAME of the game. `xprop WM_NAME`
122
122
123
123
#### Proton games are supported natively
124
124
125
-
Do not contribute Proton games to the database, because they are supported natively.
125
+
Do not contribute Proton games to the database because they are supported natively.
126
126
WM_CLASS of each Proton game is `steam_app_<APP_ID>`. It is calculated automatically.
127
127
128
-
#### Create issue or append database
128
+
#### Create an issue or append the database
129
129
130
-
You can open a [new issue](https://github.com/BlueManCZ/SIF/issues), where you provide APP_ID, WM_CLASS (and your icon theme),
130
+
You can open a [new issue](https://github.com/BlueManCZ/SIF/issues), where you provide the APP_ID, WM_CLASS (and your icon theme),
131
131
and I will add your game to the database as soon as possible.
132
132
133
133
You can also fork this repository, edit [database.json](https://github.com/BlueManCZ/SIF/blob/master/database.json)
0 commit comments