-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# qbt-theme | ||
|
||
## Tool to crate .qbttheme files for [qBittorrent](https://www.qbittorrent.org/). | ||
|
||
### Requirements | ||
|
||
- [rcc](https://pypi.org/project/PySide2/) to compile `.qres` binary resource files | ||
- on Windows rcc.exe should be added to the PATH (`pip show PySide2` to get the installation path) | ||
|
||
#### For development | ||
|
||
- [qtsass](https://pypi.org/project/qtsass/) to compile SCSS | ||
|
||
### Usage | ||
|
||
#### Get help | ||
|
||
``` sh | ||
$ python make-resource.py -h | ||
``` | ||
|
||
### Compile `material-white/stylesheet.scss` to `stylesheet.qss` | ||
|
||
``` sh | ||
$ cd material-white | ||
$ python | ||
>>> import qtsass | ||
>>> qtsass.compile_filename('stylesheet.scss', 'stylesheet.qss') | ||
``` | ||
|
||
|
||
#### Compile the `ubuntu` theme to a file called `test.qbtheme` | ||
|
||
``` sh | ||
$ python make-resource.py -s a -o test files ubuntu/* | ||
``` |