feat(waybar): two configs for desktop and laptop

This commit is contained in:
2026-08-07 00:03:57 +02:00
parent c186f01cb5
commit cc215acf4d
7 changed files with 341 additions and 221 deletions

View File

@@ -1,158 +1,154 @@
@import 'macchiato.css';
* {
font-family: "Roboto";
font-size: 16px;
min-width: 15px;
font-family: "Roboto";
font-size: 16px;
min-width: 15px;
}
window#waybar {
background-color: transparent;
background-color: transparent;
}
window#waybar.hidden {
opacity: 0.5;
opacity: 0.5;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 10px;
color: @text;
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 10px;
color: @text;
}
#workspaces {
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#workspaces button.active {
background-color: @blue;
border: 1px solid @blue;
border-radius: 10px;
color: @base;
background-color: @blue;
/* border: 1px solid @blue; */
border-radius: 10px;
color: @base;
}
#workspaces button:hover {
background: @crust;
color: @text;
border-radius: 10px;
}
#workspaces button.urgent {
background-color: @red;
border: 1px solid @red;
border-radius: 10px;
color: @base;
background-color: @red;
border: 1px solid @red;
border-radius: 10px;
color: @base;
}
#clock,
#battery{
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
#clock {
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#mpd {
padding: 0 10px;
color: @subtext1;
padding: 0 10px;
color: @subtext1;
}
#tray {
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px 0px 0px 10px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px 0px 0px 10px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#custom-notification,
#pulseaudio,
#network,
#memory,
#backlight,
#bluetooth {
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px; /* Adjust as needed */
padding: 3px 7px;
color: @text;
margin: 0px;
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px; /* Adjust as needed */
padding: 3px 3px;
color: @text;
margin: 0px;
}
#cpu {
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
min-width: 80px;
#pulseaudio {
min-width: 110px
}
#backlight {
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#custom-junkyard {
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px 0px 0px 10px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#workspaces {
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#clock {
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px;
padding: 3px 10px;
color: @text;
}
#group-power {
background-color: @base;
border-radius: 10px;
padding: 3px 5px;
margin-left: 3px;
color: @text;
min-width: 60px
}
#cpu,
#battery {
background-color: @base; /* Change this to any gray color you want */
color: @text;
margin-left: 7px;
background-color: @base; /* Change this to any gray color you want */
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#battery.charging, #battery.plugged {
color: @base;
background-color: @teal;
border-radius: 10px;
padding: 3px 10px;
}
@keyframes blink {
to {
background-color: @subtext1;
color: @crust;
}
#battery.charging,
#battery.plugged {
color: @base;
background-color: @teal;
}
#battery.critical:not(.charging) {
background-color: @red;
color: @subtext1;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
border-radius: 10px;
padding: 3px 10px;
background-color: @red;
color: @subtext1;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#custom-junkyard {
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px 0px 0px 10px; /* Adjust as needed */
padding: 3px 10px;
color: @text;
}
#clock {
background-color: @base; /* Change this to any gray color you want */
border-radius: 10px;
padding: 3px 10px;
color: @text;
}
#group-power {
background-color: @base;
border-radius: 10px;
padding: 3px 5px;
margin-left: 3px;
color: @text;
}
@keyframes blink {
to {
background-color: @subtext1;
color: @crust;
}
}
label:focus {
background-color: @crust;
background-color: @crust;
}
#tray > .passive {
-gtk-icon-effect: dim;
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: @red;
-gtk-icon-effect: highlight;
background-color: @red;
}