From 646db4783bd47ae3249913e10e310d8ae8653ebb Mon Sep 17 00:00:00 2001 From: Alex Stan <90788596+Ultra980@users.noreply.github.com> Date: Mon, 5 Jun 2023 18:41:44 +0300 Subject: [PATCH] eww go brrr Signed-off-by: Alex Stan --- users/ultra/configs/eww/eww.scss | 9 +++++++-- users/ultra/configs/eww/eww.yuck | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/users/ultra/configs/eww/eww.scss b/users/ultra/configs/eww/eww.scss index e1d5673..fe6c1ef 100644 --- a/users/ultra/configs/eww/eww.scss +++ b/users/ultra/configs/eww/eww.scss @@ -14,15 +14,20 @@ } .workspace { - // border-top: 1px solid #00aaaa; padding: 10px; font-size: 15px; border-radius: 5px; background-color: #0e2636; color: #00b0d0; - // padding-top: 0px; } +.active_workspace { + padding: 10px; + font-size: 15px; + border-radius: 5px; + background-color: #0eaabf; + color: #002222; +} /* .workspace { border-top: 0px; diff --git a/users/ultra/configs/eww/eww.yuck b/users/ultra/configs/eww/eww.yuck index 6e93550..31f3697 100644 --- a/users/ultra/configs/eww/eww.yuck +++ b/users/ultra/configs/eww/eww.yuck @@ -48,7 +48,7 @@ (workspace :number num)))) (defwidget workspace [number] - (box :class "workspace" + (box :class { number == curr_workspace ? "active_workspace" : "workspace" } (button :onclick "hyprctl dispatch workspace ${number}" number))) (defpoll curr_workspace :interval "0s"