From 67a03668a488260ac07bc70a2b127ee34c48071f Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Thu, 15 Aug 2024 17:56:20 +0200 Subject: [PATCH] feat(waybar): add bit of randomness --- src/components/Waybar/index.tsx | 8 ++++---- todo.txt | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 todo.txt diff --git a/src/components/Waybar/index.tsx b/src/components/Waybar/index.tsx index d69d868..140bdb3 100644 --- a/src/components/Waybar/index.tsx +++ b/src/components/Waybar/index.tsx @@ -28,14 +28,14 @@ export const Waybar = () => { { min={50} max={70} variation={1} - frequency={7000} + frequency={7000 + randomMinMax(-100, 100)} /> - + diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..e52e76d --- /dev/null +++ b/todo.txt @@ -0,0 +1,3 @@ +- move brightness, volume etc to single state +- save user state to local storage +- change title based on focused kitty