279 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			CSS
		
	
	
	
			
		
		
	
	
			279 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			CSS
		
	
	
	
| @import "macchiato.css";
 | |
| * {
 | |
|     /* `otf-font-awesome` is required to be installed for icons */
 | |
|     font-family: NerdFont, Roboto, Helvetica, Arial, sans-serif;
 | |
| 			font-size: 13px;
 | |
| 	}
 | |
| 
 | |
| 	window#waybar {
 | |
| 			background-color: alpha(@base, 0);
 | |
| 			border-bottom: 3px solid alpha(@surface2 , 0);
 | |
| 			color: @text;
 | |
| 			transition-property: background-color;
 | |
| 			transition-duration: .5s;
 | |
| 	}
 | |
| 
 | |
| 	window#waybar.hidden {
 | |
| 			opacity: 0.2;
 | |
| 	}
 | |
| 
 | |
| 	/*
 | |
| 	window#waybar.empty {
 | |
| 			background-color: transparent;
 | |
| 	}
 | |
| 	window#waybar.solo {
 | |
| 			background-color: #FFFFFF;
 | |
| 	}
 | |
| */
 | |
| 
 | |
| .modules-center {
 | |
|     color: @crust;
 | |
| }
 | |
| 
 | |
| .modules-right{
 | |
|     margin: 2px
 | |
| }
 | |
| 
 | |
| window#waybar.termite { background-color: @surface0;
 | |
| }
 | |
| 
 | |
| window#waybar.chromium {
 | |
|     background-color: #000000;
 | |
|     border: none;
 | |
| }
 | |
| 
 | |
| 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;
 | |
|     box-shadow: inset 0 -3px @lavender;
 | |
| }
 | |
| 
 | |
| /* you can set a style on hover for any module like this */
 | |
| #pulseaudio:hover {
 | |
|     background-color: #a37800;
 | |
| }
 | |
| 
 | |
| #workspaces {
 | |
|     background-color: alpha(@base, 0.5);
 | |
|     box-shadow: inset 0 -3px alpha(@surface1, 0.5);
 | |
| }
 | |
| 
 | |
| #workspaces button {
 | |
|     padding: 0 3px;
 | |
|     background-color: transparent;
 | |
|     color: @text;
 | |
| }
 | |
| 
 | |
| #workspaces button:hover {
 | |
|     background: rgba(0, 0, 0, 0.2);
 | |
| }
 | |
| 
 | |
| #workspaces button.active {
 | |
|     background-color: alpha(@crust, 0.5);
 | |
|     box-shadow: inset 0 -3px @lavender;
 | |
| }
 | |
| 
 | |
| #workspaces button.urgent {
 | |
|     background-color: #eb4d4b;
 | |
| }
 | |
| 
 | |
| #mode {
 | |
|     background-color: #64727D;
 | |
|     box-shadow: inset 0 -3px @lavender;
 | |
| }
 | |
| 
 | |
| #clock,
 | |
| #battery,
 | |
| #cpu,
 | |
| #memory,
 | |
| #disk,
 | |
| #temperature,
 | |
| #backlight,
 | |
| #network,
 | |
| #pulseaudio,
 | |
| #wireplumber,
 | |
| #custom-media,
 | |
| #custom-power,
 | |
| #custom-homeassistant,
 | |
| #network,
 | |
| #tray,
 | |
| #mode,
 | |
| #idle_inhibitor,
 | |
| #scratchpad,
 | |
| #power-profiles-daemon,
 | |
| #mpd {
 | |
|     background-color: @base;
 | |
|     padding: 0 10px;
 | |
|     margin: 2px;
 | |
|     color: @text;
 | |
|     border-radius: 10px;
 | |
| }
 | |
| 
 | |
| .modules-right widget {
 | |
|     background-image: linear-gradient(-45deg, #6A00DF, #C90E6F);
 | |
|     border-radius: 12px;
 | |
| }
 | |
| 
 | |
| .module widget {
 | |
|     background-image: none;
 | |
| }
 | |
| 
 | |
| #window,
 | |
| #workspaces {
 | |
|     margin: 0 4px;
 | |
| }
 | |
| 
 | |
| /* If workspaces is the leftmost module, omit left margin */
 | |
| .modules-left > widget:first-child > #workspaces {
 | |
|     margin-left: 0;
 | |
| }
 | |
| 
 | |
| /* If workspaces is the rightmost module, omit right margin */
 | |
| .modules-right > widget:last-child > #workspaces {
 | |
|     margin-right: 0;
 | |
| }
 | |
| 
 | |
| @keyframes blink {
 | |
|     to {
 | |
|         background-color: #ffffff;
 | |
|         color: #000000;
 | |
|     }
 | |
| }
 | |
| 
 | |
| #custom-homeassistant {
 | |
|     font-size: 17px;
 | |
| }
 | |
| 
 | |
| #custom-power,
 | |
| #custom-homeassistant {
 | |
|     padding: 0px 8px 0px 12px;
 | |
| }
 | |
| 
 | |
| /* Using steps() instead of linear as a timing function to limit cpu usage */
 | |
| #battery.critical:not(.charging) {
 | |
|     animation-name: blink;
 | |
|     animation-duration: 0.5s;
 | |
|     animation-timing-function: steps(12);
 | |
|     animation-iteration-count: infinite;
 | |
|     animation-direction: alternate;
 | |
| }
 | |
| 
 | |
| #power-profiles-daemon {
 | |
|     padding-right: 15px;
 | |
| }
 | |
| 
 | |
| label:focus {
 | |
|     background-color: #000000;
 | |
| }
 | |
| 
 | |
| #network.disconnected {
 | |
|     background-color: @blue;
 | |
| }
 | |
| 
 | |
| #pulseaudio.muted {
 | |
|     background-color: @blue;
 | |
|     color: #2a5c45;
 | |
| }
 | |
| 
 | |
| #wireplumber.muted {
 | |
|     background-color: @blue;
 | |
| }
 | |
| 
 | |
| #custom-media {
 | |
|     min-width: 100px;
 | |
| }
 | |
| 
 | |
| #custom-media.custom-spotify {
 | |
|     background-color: @green;
 | |
| }
 | |
| 
 | |
| #custom-media.custom-vlc {
 | |
|     background-color: @blue;
 | |
| }
 | |
| 
 | |
| #temperature.critical {
 | |
|     background-color: @red;
 | |
| }
 | |
| 
 | |
| #tray > .passive {
 | |
|     -gtk-icon-effect: dim;
 | |
| }
 | |
| 
 | |
| #tray > .needs-attention {
 | |
|     -gtk-icon-effect: highlight;
 | |
|     background-color: #eb4d4b;
 | |
| }
 | |
| 
 | |
| #idle_inhibitor.activated {
 | |
|     background-color: @red;
 | |
| }
 | |
| 
 | |
| #mpd.disconnected {
 | |
|     background-color: @blue;
 | |
| }
 | |
| 
 | |
| #mpd.stopped {
 | |
|     background-color: @red;
 | |
| }
 | |
| 
 | |
| #mpd.paused {
 | |
|     background-color: @green;
 | |
| }
 | |
| 
 | |
| #language {
 | |
|     padding: 0 5px;
 | |
|     margin: 0 5px;
 | |
|     min-width: 16px;
 | |
| }
 | |
| 
 | |
| #keyboard-state {
 | |
|     padding: 0 0px;
 | |
|     margin: 0 5px;
 | |
|     min-width: 16px;
 | |
| }
 | |
| 
 | |
| #keyboard-state > label {
 | |
|     padding: 0 5px;
 | |
| }
 | |
| 
 | |
| #keyboard-state > label.locked {
 | |
|     background: rgba(0, 0, 0, 0.2);
 | |
| }
 | |
| 
 | |
| #scratchpad {
 | |
|     background: rgba(0, 0, 0, 0.2);
 | |
| }
 | |
| 
 | |
| #scratchpad.empty {
 | |
| 	background-color: transparent;
 | |
| }
 | |
| 
 | |
| #privacy {
 | |
|     padding: 0;
 | |
| }
 | |
| 
 | |
| #privacy-item {
 | |
|     padding: 0 5px;
 | |
|     color: white;
 | |
| }
 | |
| 
 | |
| #privacy-item.screenshare {
 | |
|     background-color: #cf5700;
 | |
| }
 | |
| 
 | |
| #privacy-item.audio-in {
 | |
|     background-color: #1ca000;
 | |
| }
 | |
| 
 | |
| #privacy-item.audio-out {
 | |
|     background-color: #0069d4;
 | |
| }
 |