mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Use icons from Material font in workspaces
This commit is contained in:
parent
a5e1737cfa
commit
d583587360
|
@ -2,18 +2,20 @@
|
||||||
background-color: $bg1-a;
|
background-color: $bg1-a;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
|
|
||||||
|
.icon, .icon label {
|
||||||
|
font-family: "Material Symbols Outlined";
|
||||||
|
font-size: 1.15rem;
|
||||||
|
}
|
||||||
|
|
||||||
.value {
|
.value {
|
||||||
margin-left: 10px;
|
margin: 0 9px;
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.focused {
|
.focused {
|
||||||
// text-decoration: underline;
|
// text-decoration: underline;
|
||||||
// text-decoration-color: red;
|
// text-decoration-color: red;
|
||||||
// text-decoration-style: double;
|
// text-decoration-style: double;
|
||||||
font-weight: 900;
|
color: $fg;
|
||||||
// color: $sapphire;
|
|
||||||
color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
:onclick `scripts/workspaces --switch ${workspace.id}`
|
:onclick `scripts/workspaces --switch ${workspace.id}`
|
||||||
|
|
||||||
(label
|
(label
|
||||||
:class "value"
|
:class "value icon"
|
||||||
:text {workspace.format_name}))
|
:text {workspace.format_name}))
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
|
|
|
@ -49,12 +49,12 @@ class OutputWorkspaceInfo(WorkspaceInfo):
|
||||||
|
|
||||||
# workspace id -> remapped name
|
# workspace id -> remapped name
|
||||||
REMAPS = {
|
REMAPS = {
|
||||||
1: "",
|
1: "",
|
||||||
2: "",
|
2: "",
|
||||||
3: "",
|
3: "",
|
||||||
4: "",
|
4: "",
|
||||||
5: "",
|
5: "",
|
||||||
6: "",
|
6: "",
|
||||||
7: "7",
|
7: "7",
|
||||||
8: "8",
|
8: "8",
|
||||||
9: "9",
|
9: "9",
|
||||||
|
|
Loading…
Reference in a new issue