nix-config/home/hyprland/waybar/configs/style.css

152 lines
2.1 KiB
CSS
Raw Normal View History

2025-04-08 13:18:34 +02:00
@import "mocha.css";
2025-09-08 16:29:01 +02:00
/* -- Global rules -- */
2025-03-25 15:23:08 +01:00
* {
2025-09-08 16:29:01 +02:00
border: none;
font-family: "JetbrainsMono Nerd Font";
font-size: 15px;
min-height: 10px;
2025-03-25 15:23:08 +01:00
}
window#waybar {
2025-09-08 16:29:01 +02:00
background: @crust;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
window#waybar.hidden {
opacity: 0.2;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
󠀰
/* - Genera rules for visible modules -- */
#media,
#clock,
#cpu,
#memory,
#disk,
#temperature,
#network {
color: @crust;
margin-top: 6px;
margin-bottom: 6px;
padding-left: 10px;
padding-right: 10px;
transition: none;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
/* Separation to the left */
#custom-nixicon,
#cpu {
margin-left: 5px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
/* Separation to the rigth */
#clock,
#temperature {
margin-right: 20px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
/* -- Specific styles -- */
2025-03-25 15:23:08 +01:00
2025-09-08 16:29:01 +02:00
#custom-nixicon {
font-size: 20px;
color: @sapphire;
background: @overlay1;
padding: 0px;
padding-right: 15px;
padding-left: 10px;
margin-top: 6px;
margin-bottom: 6px;
margin-left: 15px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
/* Hardware Group */
#clock {
background: @yellow;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#cpu {
background: @blue;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#memory {
background: @red;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#disk {
background: @peach;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#temperature {
background: @sky;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#network {
background: @lavender;
padding-right: 13px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
/* Workspace */
#workspaces {
border-radius: 10px;
margin: 6px 5px;
padding: 0px 6px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#workspaces button {
color: @text;
background: transparent;
padding: 4px 4px;
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
border: none;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#workspaces button.occupied {
color: @red;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#workspaces button.active {
color: @green;
text-shadow: 0 0 4px @green;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#workspaces button:hover {
color: @teal;
border: none;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#workspaces button.active:hover {}
2025-03-25 15:23:08 +01:00
2025-09-08 16:29:01 +02:00
/* Media Group */
#media {
background: @overlay2;
border-radius: 10px;
margin: 5px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#custom-cava {
color: @green;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#wireplumber, #custom-cava, #mpris {
margin-left: 10px;
margin-right: 5px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
#wireplumber {
margin-right: 5px;
2025-03-25 15:23:08 +01:00
}
2025-09-08 16:29:01 +02:00
/* Weather */
#custom-weather {
background: @overlay2;
border-radius: 10px;
margin: 5px 20px;
padding: 0px 10px;
2025-03-25 15:23:08 +01:00
}