2022-03-23 19:06:24 +00:00
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Keyframes
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
@keyframes blink-warning {
|
|
|
|
70% {
|
|
|
|
color: @light;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
color: @light;
|
|
|
|
background-color: @warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink-critical {
|
|
|
|
70% {
|
|
|
|
color: @light;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
color: @light;
|
|
|
|
background-color: @critical;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Styles
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* COLORS */
|
|
|
|
|
|
|
|
/* Gruvbox */
|
|
|
|
@define-color light #ebdbb2;
|
|
|
|
@define-color dark #1d2021;
|
|
|
|
|
|
|
|
@define-color warning #fabd2f;
|
|
|
|
@define-color critical #fb4934;
|
|
|
|
|
|
|
|
@define-color red #fb4934;
|
|
|
|
@define-color orange #fe8019;
|
|
|
|
@define-color green #b8bb26;
|
|
|
|
@define-color yellow #fabd2f;
|
|
|
|
@define-color blue #83a598;
|
|
|
|
@define-color purple #d3869b;
|
|
|
|
@define-color teal #8ec07c;
|
|
|
|
@define-color gray #928374;
|
|
|
|
|
|
|
|
* {
|
2024-05-07 17:09:51 +00:00
|
|
|
border: none;
|
2022-03-23 19:06:24 +00:00
|
|
|
font-family: Inconsolata, Inconsolata Nerd Font, FiraCode Nerd Font Mono;
|
2024-05-07 17:09:51 +00:00
|
|
|
font-weight: bold;
|
2022-03-23 19:06:24 +00:00
|
|
|
font-size: 14pt;
|
2024-05-07 17:09:51 +00:00
|
|
|
color: @light;
|
|
|
|
border-radius: 20px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*-----module groups----*/
|
|
|
|
.modules-right {
|
|
|
|
padding: 3px;
|
|
|
|
background-color: @dark;
|
2024-05-23 22:00:47 +00:00
|
|
|
margin: 0 5px 5px 0;
|
2024-05-07 17:09:51 +00:00
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
.modules-center {
|
|
|
|
padding: 3px;
|
2024-08-27 18:29:10 +00:00
|
|
|
padding-right: 10px;
|
2024-05-07 17:09:51 +00:00
|
|
|
background-color: @dark;
|
2024-05-23 22:00:47 +00:00
|
|
|
margin: 0 0 5px 0;
|
2024-05-07 17:09:51 +00:00
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
.modules-left {
|
|
|
|
padding: 3px;
|
2024-05-23 22:00:47 +00:00
|
|
|
margin: 0 0 5px 5px;
|
2024-05-07 17:09:51 +00:00
|
|
|
background-color: @dark;
|
|
|
|
border-radius: 10px;
|
2022-03-23 19:06:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* All modules */
|
|
|
|
#battery,
|
|
|
|
#clock,
|
|
|
|
#cpu,
|
|
|
|
#memory,
|
|
|
|
#mode,
|
|
|
|
#network,
|
|
|
|
#pulseaudio,
|
|
|
|
#temperature,
|
2024-05-23 22:00:47 +00:00
|
|
|
#tray,
|
2024-08-27 18:29:10 +00:00
|
|
|
#idle_inhibitor,
|
2024-05-23 22:00:47 +00:00
|
|
|
#disk {
|
2022-03-23 19:06:24 +00:00
|
|
|
background: transparent;
|
|
|
|
color: @light;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
2024-11-13 20:55:37 +00:00
|
|
|
#tray menu {
|
|
|
|
background: @dark;
|
|
|
|
}
|
|
|
|
|
2022-03-23 19:06:24 +00:00
|
|
|
/* All module that should blink */
|
|
|
|
#mode
|
|
|
|
#memory,
|
|
|
|
#temperature,
|
|
|
|
#battery {
|
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* All critical modules */
|
|
|
|
#memory.critical,
|
|
|
|
#cpu.critical,
|
|
|
|
#temperature.critical,
|
|
|
|
#battery.critical {
|
|
|
|
color: @critical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* All critical modules that should blink */
|
|
|
|
#mode,
|
|
|
|
#memory.critical,
|
|
|
|
#temperature.critical,
|
|
|
|
#battery.critical.discharging {
|
|
|
|
animation-name: blink-critical;
|
|
|
|
animation-duration: 2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Each warning */
|
|
|
|
#network.disconnected,
|
|
|
|
#memory.warning,
|
|
|
|
#cpu.warning,
|
|
|
|
#temperature.warning,
|
|
|
|
#battery.warning {
|
|
|
|
color: @warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Each warning that should blink */
|
|
|
|
#battery.warning.discharging {
|
|
|
|
animation-name: blink-warning;
|
|
|
|
animation-duration: 3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Workspaces stuff */
|
|
|
|
#workspaces button {
|
|
|
|
/*font-weight: bold;*/
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
color: @light;
|
|
|
|
background: @dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.focused {
|
2024-05-07 17:09:51 +00:00
|
|
|
border: 1px solid @orange;
|
2022-03-23 19:06:24 +00:00
|
|
|
}
|
|
|
|
|
2023-02-03 14:59:51 +00:00
|
|
|
#workspaces button.visible:not(.focused) {
|
2024-05-07 17:09:51 +00:00
|
|
|
border: 1px solid @gray;
|
2023-02-03 14:59:51 +00:00
|
|
|
}
|
|
|
|
|
2022-03-23 19:06:24 +00:00
|
|
|
#workspaces button.urgent {
|
|
|
|
color: @orange;
|
|
|
|
}
|
|
|
|
|