nixos-config/home/waybar/style.css

71 lines
1.1 KiB
CSS
Raw Normal View History

2024-11-22 00:58:04 -05:00
.module,
#clock.date,
#clock.time,
2024-11-21 15:56:39 -05:00
#workspaces button {
2024-11-22 00:58:04 -05:00
background: transparent;
padding: 0 10px;
2024-12-04 22:23:59 -05:00
font-family: RobotoMono Nerd Font;
2024-11-22 00:58:04 -05:00
font-weight: 900;
font-size: 13pt;
color: #c0caf5;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
/* main waybar */
window#waybar {
2024-12-04 22:53:37 -05:00
background: rgba(26, 27, 38, 1);
2024-11-22 00:58:04 -05:00
border: 2px solid #414868;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
/* when hovering over modules */
tooltip {
background: #1e1e2e;
border-radius: 0;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
#workspaces {
padding-right: 0;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
#workspaces button {
padding: 2px;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
#clock {
padding-right: 100px;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
/* Sets active workspace to have a solid line on the bottom */
2024-12-04 22:53:37 -05:00
#workspaces button.focused {
2024-11-22 00:58:04 -05:00
border-bottom: 2px solid #7aa2f7;
border-radius: 0;
2024-12-04 22:23:59 -05:00
margin-top: 0px;
2024-11-22 00:58:04 -05:00
transition: none;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
/* More workspace stuff for highlighting on hover */
#workspaces button.focused {
color: #a6adc8;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
#workspaces button.urgent {
color: #f7768e;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
#workspaces button:hover {
background: #11111b;
color: #cdd6f4;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
/* Hide window module when not focused on window or empty workspace */
window#waybar.empty #window {
padding: 0;
margin: 0;
opacity: 0;
2024-11-21 15:56:39 -05:00
}
2024-11-22 00:58:04 -05:00
/* Set up rounding to make these modules look like separate pills */
#tray {
margin-right: 4px;
2024-11-21 15:56:39 -05:00
}