Skip to content

Commit fcf10d7

Browse files
committed
Add new theme photos, make md links relative
1 parent 0c275b7 commit fcf10d7

File tree

9 files changed

+33
-23
lines changed

9 files changed

+33
-23
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169

170170
### Packaging
171171

172-
Manual page is no longer provided in the repo. To generate `man/i3status-rs.1` run `cargo xtask generate-manpage`. See [manual_install.md](https://github.com/greshake/i3status-rust/blob/master/doc/manual_install.md) for more details.
172+
Manual page is no longer provided in the repo. To generate `man/i3status-rs.1` run `cargo xtask generate-manpage`. See [manual_install.md](doc/manual_install.md) for more details.
173173

174174
# i3status-rust 0.30.4
175175

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# i3status-rust
22

3-
![demo1](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/solarized-dark.png)
3+
![demo1](img/themes/solarized-dark.png)
44

55
`i3status-rs` is a feature-rich and resource-friendly replacement for i3status, written in pure Rust. It provides a way to display "blocks" of system information (time, battery status, volume, etc) on bars that support the [i3bar protocol](https://i3wm.org/docs/i3bar-protocol.html).
66

@@ -16,25 +16,25 @@ Install from one of the packages below:
1616

1717
* **NOTE:** Installation via `cargo` is not supported.
1818

19-
Otherwise refer to [manual install](https://github.com/greshake/i3status-rust/blob/master/doc/manual_install.md) docs.
19+
Otherwise refer to [manual install](doc/manual_install.md) docs.
2020

2121
## Configuration
2222

23-
After installing `i3status-rust`, edit the [example configuration](https://raw.githubusercontent.com/greshake/i3status-rust/master/examples/config.toml) to your liking.
23+
After installing `i3status-rust`, edit the [example configuration](examples/config.toml) to your liking.
2424
The default location is `$XDG_CONFIG_HOME/i3status-rust/config.toml`.
2525

2626
There are some optional global configuration variables, defined either at the top-level or in a [TOML table](https://github.com/toml-lang/toml/blob/main/toml.md#table).
2727

2828
`[icons]` table:
2929
Key | Description | Default
3030
----|-------------|----------
31-
`icons` | The [icon set](https://github.com/greshake/i3status-rust/blob/master/doc/themes.md#available-icon-sets) that should be used. | `"none"`
31+
`icons` | The [icon set](doc/themes.md#available-icon-sets) that should be used. | `"none"`
3232
`[icons.icons_overrides]` | Refer to `Themes and Icons` below. | None
3333

3434
`[theme]` table:
3535
Key | Description | Default
3636
----|-------------|----------
37-
`theme` | The [theme](https://github.com/greshake/i3status-rust/blob/master/doc/themes.md#available-themes) that should be used. | `"plain"`
37+
`theme` | The [theme](doc/themes.md#available-themes) that should be used. | `"plain"`
3838
`[theme.theme_overrides]` | Refer to `Themes and Icons` below. | None
3939

4040
Global variables:
@@ -64,7 +64,7 @@ short_error_message | The short error message, if available
6464

6565
- [Blocks](https://greshake.github.io/i3status-rust/i3status_rs/blocks/index.html)
6666
- [Formatting](https://greshake.github.io/i3status-rust/i3status_rs/formatting/index.html)
67-
- [Themes and Icons](https://github.com/greshake/i3status-rust/blob/master/doc/themes.md)
67+
- [Themes and Icons](doc/themes.md)
6868

6969
## Integrate it into i3/sway
7070

cspell.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ words:
7373
- kmon
7474
- libc
7575
- liquidctl
76+
- macchiato
7677
- maildir
7778
- mebi
7879
- metno

doc/themes.md

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,44 @@ Notes:
2727

2828
# Available themes
2929

30-
Note: screenshots were generated using [this config](https://github.com/greshake/i3status-rust/blob/master/gen-screenshots/screenshot_config.toml) with [this swaybar config](https://github.com/greshake/i3status-rust/blob/master/gen-screenshots/swayconfig_i3rs).
30+
Note: screenshots were generated using [this config](../gen-screenshots/screenshot_config.toml) with [this swaybar config](../gen-screenshots/swayconfig_i3rs).
3131

3232
* `plain` (default)
33-
![plain](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/plain.png)
33+
![plain](../img/themes/plain.png)
3434
* `solarized-dark`
35-
![solarized-dark](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/solarized-dark.png)
35+
![solarized-dark](../img/themes/solarized-dark.png)
3636
* `solarized-light`
37-
![solarized-light](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/solarized-light.png)
37+
![solarized-light](../img/themes/solarized-light.png)
3838
* `slick`
39-
![slick](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/slick.png)
39+
![slick](../img/themes/slick.png)
4040
* `modern`
41-
![modern](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/modern.png)
41+
![modern](../img/themes/modern.png)
4242
* `bad-wolf`
43-
![bad-wolf](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/bad-wolf.png)
43+
![bad-wolf](../img/themes/bad-wolf.png)
4444
* `gruvbox-light`
45-
![gruvbox-light](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/gruvbox-light.png)
45+
![gruvbox-light](../img/themes/gruvbox-light.png)
4646
* `gruvbox-dark`
47-
![gruvbox-dark](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/gruvbox-dark.png)
47+
![gruvbox-dark](../img/themes/gruvbox-dark.png)
4848
* `space-villain`
49-
![space-villain](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/space-villain.png)
49+
![space-villain](../img/themes/space-villain.png)
5050
* `native` (like plain with no background and native separators)
51-
![native](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/native.png)
51+
![native](../img/themes/native.png)
5252
* `semi-native` (like native but with background)
53-
![semi-native](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/semi-native.png)
53+
![semi-native](../img/themes/semi-native.png)
5454
* `nord-dark` (polar night)
55-
![nord-dark](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/nord-dark.png)
55+
![nord-dark](../img/themes/nord-dark.png)
5656
* `dracula`
57-
![dracula](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/dracula.png)
57+
![dracula](../img/themes/dracula.png)
5858
* `srcery`
59-
![srcery](https://raw.githubusercontent.com/greshake/i3status-rust/master/img/themes/srcery.png)
59+
![srcery](../img/themes/srcery.png)
60+
* `ctp-frappe`
61+
![ctp-frappe](../img/themes/ctp-frappe.png)
62+
* `ctp-latte`
63+
![ctp-latte](../img/themes/ctp-latte.png)
64+
* `ctp-macchiato`
65+
![ctp-macchiato](../img/themes/ctp-macchiato.png)
66+
* `ctp-mocha`
67+
![ctp-mocha](../img/themes/ctp-mocha.png)
6068

6169
# Available icon sets
6270

@@ -144,4 +152,4 @@ These can be directly set to a string containing the desired unicode codepoint(s
144152

145153
You can find the codepoints in the documentation of the icon font you're using.
146154

147-
Refer to individual block's documentation for a list of used icons or [provided icon sets](https://github.com/greshake/i3status-rust/tree/master/files/icons) for a complete list of icons.
155+
Refer to individual block's documentation for a list of used icons or [provided icon sets](../files/icons) for a complete list of icons.

gen-screenshots/swayconfig_i3rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ bar {
44
status_padding 0
55
tray_output none
66
font pango:DejaVu Sans Mono, Font Awesome 6 Free 10
7+
#font pango:DejaVu Sans Mono for Powerline, Font Awesome 6 Free 10
78
status_command i3status-rs $I3RS_PWD/screenshot_config.toml
89

910
colors {

img/themes/ctp-frappe.png

20.6 KB
Loading

img/themes/ctp-latte.png

20.3 KB
Loading

img/themes/ctp-macchiato.png

21.2 KB
Loading

img/themes/ctp-mocha.png

21.7 KB
Loading

0 commit comments

Comments
 (0)