aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAdaShoelace <adashoelace@gmail.com>2021-01-08 02:15:02 +0100
committerAdaShoelace <adashoelace@gmail.com>2021-01-08 02:18:51 +0100
commitadb507b0efcddadd15458c5ae769e66cfefcb9fc (patch)
tree5f4dd8b0b43438b0f5a3dc5bd34c58f4a396b7ba /src/main.rs
parentc8be5d33b527bfcea569275606de392a15cc91a3 (diff)
Squashed commit of the following:
commit 89ec61f2cc24238dbccf2890235fab7a66efdc5b Author: AdaShoelace <adashoelace@gmail.com> Date: Fri Jan 8 01:49:19 2021 +0100 Support pulseaudio commit b4bc05538b22d86a53e4461bbee2c8c4d33b0f80 Author: AdaShoelace <adashoelace@gmail.com> Date: Fri Jan 8 01:06:32 2021 +0100 Display volume in percent commit 14570efeebeb127494509534886dd521a23f24f0 Author: AdaShoelace <adashoelace@gmail.com> Date: Thu Jan 7 14:22:34 2021 +0100 Programmatically rename root and get alsa volume commit 391b2ec7360fd9ae462a87c0a3ae86d39f695c3f Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 22:26:57 2021 +0100 Remove usage of 'Command' from get_disk commit 0625be6e822e18cf4e2fd212695ddd1592161a97 Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 22:25:01 2021 +0100 Add nix dependency commit c66e1cc09031f0a7ddf40016855a6d7457d9d65f Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 16:14:55 2021 +0100 ignore commit 32dbdc5f3d636551c64e2f303365a5a5e3d94994 Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 02:21:51 2021 +0100 Add breadx to dependencies commit 4d23c36552b461b06127705964e1a16dd395e658 Author: AdaShoelace <adashoelace@gmail.com> Date: Mon Jan 4 01:13:55 2021 +0100 Add exclusion to gitignore
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 2211cb9..c3a542d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,5 +2,6 @@ use rsblocks;
fn main() {
let config = rsblocks::load_config().unwrap();
- rsblocks::run(config);
+ let blocks = rsblocks::Blocks::new();
+ rsblocks::run(config, blocks);
}