Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ All notable changes to eww will be listed here, starting at changes since versio
- Add `transform-origin-x`/`transform-origin-y` properties to transform widget (By: mario-kr)
- Add keyboard support for button presses (By: julianschuler)
- Support empty string for safe access operator (By: ModProg)
- Add `read` and `written` to the `EWW_DISK` magic variable (By: bkueng)

## [0.6.0] (21.04.2024)

Expand Down
86 changes: 43 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ smart-default = "0.7.1"
static_assertions = "1.1.0"
strsim = "0.11"
strum = { version = "0.26", features = ["derive"] }
sysinfo = "0.31.2"
sysinfo = "0.33.1"
thiserror = "1.0"
tokio-util = "0.7.11"
tokio = { version = "1.39.2", features = ["full"] }
Expand Down
5 changes: 3 additions & 2 deletions crates/eww/src/config/inbuilt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ define_builtin_vars! {
// @prop { total_mem, free_mem, total_swap, free_swap, available_mem, used_mem, used_mem_perc }
"EWW_RAM" [2] => || Ok(DynVal::from(get_ram())),

// @desc EWW_DISK - Information on on all mounted partitions (Might report inaccurately on some filesystems, like btrfs and zfs) Example: `{EWW_DISK["/"]}`
// @prop { <mount_point>: { name, total, free, used, used_perc } }
// @desc EWW_DISK - Information on all mounted partitions (Might report inaccurately on some filesystems, like btrfs and zfs).
// `read` and `written` provide the read/written bytes per second over the latest interval. Example: `{EWW_DISK["/"]}`
// @prop { <mount_point>: { name, total, free, used, used_perc, read, written } }
"EWW_DISK" [2] => || Ok(DynVal::from(get_disks())),

// @desc EWW_BATTERY - Battery capacity in percent of the main battery
Expand Down
Loading