Workspace styling
This commit is contained in:
parent
5f6ccc0742
commit
7de71dd986
2 changed files with 37 additions and 3 deletions
|
@ -33,6 +33,10 @@
|
||||||
"clock#local"
|
"clock#local"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"niri/workspaces": {
|
||||||
|
"format": "\uf111"
|
||||||
|
},
|
||||||
|
|
||||||
{% for iface in host.wireless %}
|
{% for iface in host.wireless %}
|
||||||
"network#{{ iface }}": {
|
"network#{{ iface }}": {
|
||||||
"interface": "{{ iface }}",
|
"interface": "{{ iface }}",
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
font-family: '{{ host.system_mono_font }}', 'Font Awesome 6 Free';
|
font-family: '{{ host.system_mono_font }}', 'Font Awesome 6 Free';
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
||||||
color: @base05;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
|
@ -36,9 +34,24 @@ window#waybar {
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label.module {
|
button {
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
/* Avoid rounded borders under each button name */
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
button:hover {
|
||||||
|
background: inherit;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
|
color: @base05;
|
||||||
background: @base01;
|
background: @base01;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
@ -49,6 +62,23 @@ label.module {
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
color: @base05;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.empty {
|
||||||
|
color: @base03;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
color: @base02;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
color: @base04;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
color: @base08;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warning {
|
.warning {
|
||||||
|
|
Loading…
Add table
Reference in a new issue