mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-08 18:03:08 +02:00
eww go brrr
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
parent
d223e323bf
commit
646db4783b
2 changed files with 8 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue