mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 18:51:04 +02:00
Merge branch 'master' into develop
This commit is contained in:
commit
b14fe5a1b8
52 changed files with 1149 additions and 280 deletions
|
@ -9,6 +9,8 @@ cargo build --release
|
|||
install target/release/ironbar ~/.local/bin/ironbar
|
||||
```
|
||||
|
||||
It is also recommended to install a [Nerd Font](https://www.nerdfonts.com/#home) for displaying symbols.
|
||||
|
||||
## Build requirements
|
||||
|
||||
To build from source, you must have GTK (>= 3.22) and GTK Layer Shell installed.
|
||||
|
@ -45,7 +47,7 @@ dnf install gtk3-devel gtk-layer-shell-devel
|
|||
# for http support
|
||||
dnf install openssl-devel
|
||||
# for volume support
|
||||
dnf install libpulseaudio-devel
|
||||
dnf install pulseaudio-libs-devel
|
||||
# for lua/cairo support
|
||||
dnf install luajit-devel lua-lgi
|
||||
```
|
||||
|
|
|
@ -9,6 +9,8 @@ If you want to see some ready-to-go config files check
|
|||
the [examples folder](https://github.com/JakeStanger/ironbar/tree/master/examples)
|
||||
and the example pages in the sidebar.
|
||||
|
||||
The examples make use of [Nerd Fonts](https://www.nerdfonts.com/#home) for displaying symbols.
|
||||
|
||||
## 1. Create config file
|
||||
|
||||
The config file lives inside the `ironbar` directory in your XDG_CONFIG_DIR, which is usually `~/.config/ironbar`.
|
||||
|
|
|
@ -84,11 +84,10 @@ and will be replaced with values from the current battery state:
|
|||
|
||||
| Selector | Description |
|
||||
|---------------------------------|--------------------------------|
|
||||
| `.upower` | Upower widget container. |
|
||||
| `.upower .button` | Upower widget button. |
|
||||
| `.upower .button .contents` | Upower widget button contents. |
|
||||
| `.upower .button .icon` | Upower widget battery icon. |
|
||||
| `.upower .button .label` | Upower widget button label. |
|
||||
| `.upower` | Upower widget button. |
|
||||
| `.upower .contents` | Upower widget button contents. |
|
||||
| `.upower .icon` | Upower widget battery icon. |
|
||||
| `.upower .label` | Upower widget button label. |
|
||||
| `.popup-upower` | Upower popup box. |
|
||||
| `.popup-upower .upower-details` | Label inside the popup. |
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue