eww go brrr

Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-06-05 18:41:44 +03:00
parent d223e323bf
commit 646db4783b
2 changed files with 8 additions and 3 deletions

View file

@ -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;

View file

@ -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"