Skip to content

Commit 325b547

Browse files
committed
assets: update screenshot.png and release staffs and README.md
1 parent d82c528 commit 325b547

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: make DEBUG=0 GUI_APP=0 CXX=x86_64-linux-gnu-g++-10
3939

4040
- name: Make Release
41-
run: make dist DEBUG=0 && mv ./customfetch-*.tar.gz ./customfetch.tar.gz
41+
run: make usr-dist DEBUG=0 && mv ./customfetch-*.tar.gz ./customfetch.tar.gz
4242

4343
- name: Upload to github artifacts
4444
uses: actions/upload-artifact@v4
@@ -65,7 +65,7 @@ jobs:
6565
run: make DEBUG=0 GUI_APP=1 CXX=x86_64-linux-gnu-g++-10
6666

6767
- name: Make Release
68-
run: make dist DEBUG=0 GUI_APP=1 && mv ./customfetch-*.tar.gz ./customfetch-gui.tar.gz
68+
run: make usr-dist DEBUG=0 GUI_APP=1 && mv ./customfetch-*.tar.gz ./customfetch-gui.tar.gz
6969

7070
- name: Upload to github artifacts
7171
uses: actions/upload-artifact@v4

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ delete: uninstall
141141

142142
updatever:
143143
sed -i "s#$(OLDVERSION)#$(VERSION)#g" $(wildcard .github/workflows/*.yml) compile_flags.txt
144+
sed -i "s#versionName = \"$(OLDVERSION)\"#versionName = \"$(VERSION)\"#g" android/app/build.gradle.kts
144145
sed -i "s#set(VERSION \"$(OLDVERSION)\")#set(VERSION \"$(VERSION)\")#g" CMakeLists.txt android/CMakeLists.txt
146+
sed -i "s#Project-Id-Version: customfetch $(OLDVERSION)#Project-Id-Version: customfetch $(VERSION)#g" po/*
145147

146148
.PHONY: $(TARGET) updatever remove uninstall delete dist distclean fmt toml install all locale

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<img src="https://upload.wikimedia.org/wikipedia/commons/2/24/Transparent_Square_Tiles_Texture.png" width="1px" height="1px" align="left" />
3232
<img src="screenshots/pipeline-style.png" />
3333
<h2 align="center">
34-
It's even an <b>android widget (WIP)</b> and <b>GTK3 app</b>
34+
It's even an <b>android widget</b> and <b>GTK3 app</b>
3535
</h2>
3636
<img align=right width=54.4% src="screenshots/gui-example.png"/>
3737
<img src="https://upload.wikimedia.org/wikipedia/commons/2/24/Transparent_Square_Tiles_Texture.png" width="45%" height="14px" align="right" />
@@ -65,6 +65,10 @@ The name can vary depending on the package manager or distro
6565
### Debian/Ubuntu and based
6666
Download the latest `.deb` package in [releases](https://github.com/Toni500github/customfetch/releases/latest)
6767

68+
### Android widget
69+
Download the latest `.apk` file in the [releases](https://github.com/Toni500github/customfetch/releases/latest) \
70+
AFAIK The google play protect doesn't detect any malware. If your antivirus does, please open an [issue here](https://github.com/Toni500github/customfetch/issues)
71+
6872
### Arch and based (AUR)
6973
```bash
7074
# Terminal only
@@ -76,9 +80,7 @@ yay -S customfetch-gui-bin
7680

7781
### General Distros (Manual installation)
7882
Download the latest `.tar.gz` tarball file in [releases](https://github.com/Toni500github/customfetch/releases/latest) \
79-
It contains the binary `customfetch` and the manual `customfetch.1` with the `LICENSE`.\
80-
Togheter with the directory `assets/ascii` with the distro ascii art logos.\
81-
If installing the GUI app, there's `customfetch.desktop`
83+
It contains the `/usr` directory where you'll install it in your distro. Useful for package managers too
8284

8385
### Arch and based (AUR) (source)
8486
```bash
@@ -102,7 +104,6 @@ yay -S customfetch-gui-git
102104
Download the latest apk build from the [GitHub actions](https://github.com/Toni500github/customfetch/actions/workflows/makefile.yml) artifacts\
103105
If you can't download or you are not logged in GitHub, use this link: https://nightly.link/Toni500github/customfetch/workflows/makefile/main/customfetch-android-app.zip
104106

105-
106107
### Android widget app (source)
107108
```bash
108109
# need java 17 + gradle 8.9 installed.
@@ -127,7 +128,7 @@ customfetch
127128

128129
## Config (with explanation)
129130

130-
Read the manual `customfetch.1` or the comments in the default generated config for knowing more about the configuration in customfetch.\
131+
Read the manual `customfetch.1` or execute customfetch with the arg `-w` for knowing more about the configuration in customfetch.\
131132
This is only an explaination about tags and preview, that can be always found in the documentation.
132133

133134
Here's an example using my config
@@ -154,7 +155,7 @@ layout = [
154155
"${auto}Cursor: $<theme.cursor>",
155156
"${auto}WM: $<user.wm_name> $<user.wm_version>",
156157
"${auto}DE: $<user.de_name> $<user.de_version>",
157-
"${auto}Disk (/): $<disk(/)>",
158+
"$<auto.disk>",
158159
"${auto}Swap: $<swap>",
159160
"${auto}CPU: $<cpu>",
160161
"${auto}GPU: $<gpu>",
@@ -169,7 +170,7 @@ layout = [
169170

170171
In the config we got an array variable called "layout". That's the variable where you customize how the infos should be displayed.\
171172
There are 5 tags:
172-
* `$<module.member>` - Used for printing the value of a member of a module.
173+
* `$<module.member>` - Used for printing the system info value of a member of a module.
173174
* `${color}` - Used for displaying text in a specific color.
174175
* `$(bash command)` - Used to execute bash commands and print the output.
175176
* `$[something,equalToSomethingElse,iftrue,ifalse]` - Conditional tag to display different outputs based on the comparison.
@@ -236,7 +237,7 @@ e.g `the number 50 is \< than 100 \& 98`
236237
Won't affect the printing in terminal
237238

238239
# TODOs
239-
* tell me
240+
* release v1.0.0
240241

241242
# Thanks
242243
I would like to thanks:

screenshot.png

5.96 KB
Loading

0 commit comments

Comments
 (0)