Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import "colors.css";
- * {
- font-family: 'Ubuntu Mono', 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
- font-size: 18px;
- }
- window#waybar {
- background-color: @bg;
- border-bottom: 3px solid @border;
- color: @text;
- transition-property: background-color;
- transition-duration: .5s;
- }
- window#waybar.hidden {
- opacity: 0.2;
- }
- 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 @border-sel;
- }
- /* you can set a style on hover for any module like this */
- #tags button {
- padding: 0 0px;
- background-color: transparent;
- color: @text;
- }
- #tags button:hover {
- background: @modules-hover;
- }
- #tags button.focused {
- background-color: @bg-sel;
- box-shadow: inset 0 -3px @border-sel;
- }
- #tags button.occupied {
- box-shadow: inset 0 -3px @border-sel;
- }
- #tags button.urgent {
- background-color: @tag-warn;
- }
- #window.focused {
- background-color: transparent;
- color: @text;
- border-bottom: 3px solid @border;
- padding: 0 10px;
- }
- #clock,
- #battery,
- #cpu,
- #memory,
- #disk,
- #temperature,
- #backlight,
- #network,
- #pulseaudio,
- #tray,
- #idle_inhibitor,
- #scratchpad,
- #power-profiles-daemon,
- #mpd {
- padding: 0 6px;
- color: @text;
- }
- #window,
- #clock:hover {
- background-color: @modules-hover;
- }
- #battery:hover {
- background-color: @modules-hover;
- }
- #cpu:hover {
- background-color: @modules-hover;
- }
- #memory:hover {
- background-color: @modules-hover;
- }
- #disk:hover {
- background-color: @modules-hover;
- }
- #temperature:hover {
- background-color: @modules-hover;
- }
- #backlight:hover {
- background-color: @modules-hover;
- }
- #network:hover {
- background-color: @modules-hover;
- }
- #pulseaudio:hover {
- background-color: @modules-hover;
- }
- #tray:hover {
- background-color: @modules-hover;
- }
- #idle_inhibitor:hover {
- background-color: @modules-hover;
- }
- #scratchpad:hover {
- background-color: @modules-hover;
- }
- #power-profiles-daemon:hover {
- background-color: @modules-hover;
- }
- #mpd:hover {
- background-color: @modules-hover;
- }
- /* If workspaces is the leftmost module, omit left margin */
- .modules-left > widget:first-child > #tags {
- margin-left: 0;
- }
- /* If workspaces is the rightmost module, omit right margin */
- .modules-right > widget:last-child > #tags {
- margin-right: 0;
- }
- #clock {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @border;
- }
- #battery {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @bal;
- }
- #battery.charging, #battery.plugged {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @reg;
- }
- @keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
- }
- /* Using steps() instead of linear as a timing function to limit cpu usage */
- #battery.critical:not(.charging) {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @crit;
- 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;
- }
- #power-profiles-daemon.performance {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @crit;
- }
- #power-profiles-daemon.balanced {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @bal;
- }
- #power-profiles-daemon.power-saver {
- background-color: @modules;
- color: @text;
- border-right: 7px solid @reg;
- }
- label:focus {
- background-color: #000000;
- }
- #cpu {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @border;
- }
- #memory {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @border;
- }
- #disk {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @border;
- }
- #backlight {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @border;
- }
- #network {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @reg;
- }
- #network.disconnected {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @crit;
- }
- #pulseaudio {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @reg;
- }
- #pulseaudio.muted {
- background-color: @modules-muted;
- color: @text;
- border-bottom: 3px solid @crit;
- }
- #temperature {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @reg;
- }
- #temperature.critical {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @crit;
- }
- #tray {
- background-color: @modules;
- color: @text;
- border-bottom: 3px solid @border;
- }
- #tray > .passive {
- -gtk-icon-effect: dim;
- background-color: @modules;
- color: @text;
- }
- #tray > .needs-attention {
- -gtk-icon-effect: highlight;
- background-color: @modules;
- color: @text;
- }
- #idle_inhibitor {
- background-color: #2d3436;
- }
- #idle_inhibitor.activated {
- background-color: #ecf0f1;
- color: #2d3436;
- }
- #mpd {
- background-color: #66cc99;
- color: #2a5c45;
- }
- #mpd.disconnected {
- background-color: #f53c3c;
- }
- #mpd.stopped {
- background-color: #90b1b1;
- }
- #mpd.paused {
- background-color: #51a37a;
- }
- #scratchpad {
- background: rgba(0, 0, 0, 0.2);
- }
- #scratchpad.empty {
- background-color: transparent;
- }
Advertisement
Add Comment
Please, Sign In to add comment