@define-color foreground #fffefe; @define-color background #221e1d; @define-color accent #005CAF; @define-color accentdarker #0B346F; @define-color dimmed #777777; @define-color dimmeddarker #302a29; @define-color urgent #db4d6d; * { border: none; border-radius: 0; font-family: Iosevka SS05, Liberation Mono, Noto Sans, Font Awesome; font-size: 12pt; } #window, #mode, #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #custom-media, #custom-toggl, #mpd, #tray, #idle_inhibitor { border-top: 2px solid @dimmeddarker; padding: 0 0.3rem; margin: 0 0.25rem; color: @foreground; } #workspaces button { padding: 0 5px; background: transparent; color: @dimmed; /* border-bottom: 3px solid transparent; */ } #workspaces button.focused { color: @foreground; background: @accentdarker; transition-property: background; transition-duration: 0.1s; } #workspaces button.urgent { color: @background; background: @urgent; } #workspaces button:hover, #workspaces button.focused:hover { background: @accent; color: @foreground; transition-property: background, color; transition-duration: 0.1s; /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ box-shadow: inherit; text-shadow: inherit; } #workspaces button.urgent:hover { background: @foreground; transition-property: background; transition-duration: 0.1s; } #window { /* border-top: 2px solid @accentdarker; */ border-top: none; } window#waybar { background: @background; color: @foreground; } window#waybar.empty { border-top: none; } window#waybar.solo {} /* window#waybar. {} */ #mode { font-style: italic; background: #64727d; border-top: 2px solid @foreground; } #clock {} #clock.local { margin-right: 0; padding-right: 0; } #clock.utc { color: @dimmed; } #disk.root { margin-right: 0; padding-right: 0; } #disk.home { } #battery { } #battery.charging { color: @foreground; background-color: #26a65b; } @keyframes blink { to { background-color: @foreground; color: @background; } } #battery.critical:not(.charging) { background-color: #f53c3c; color: @foreground; animation-name: blink; animation-duration: 0.5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } label:focus { background: @background; } #cpu {} #memory {} #backlight {} #network {} #network.disconnected { color: @dimmed; } #pulseaudio { } #pulseaudio.muted { color: @dimmed; } #temperature {} #temperature.critical { background: #eb4d4b; } #tray {} #idle_inhibitor { color: @dimmed; } #idle_inhibitor.activated { color: unset; } #custom-media { min-width: 100px; color: @foreground; border-top: 2px solid #628aaa; } #custom-media.custom-spotify, #custom-media.custom-spotifyd { border-top: 2px solid #1DB954; } #custom-media.custom-mpv { border-top: 2px solid #520053; } #custom-toggl { color: @foreground; /* background-color: #DB4D6D; */ border-top: 2px solid #DB4D60; } #mpd { color: @foreground; border-top: 2px solid #d75f00; } #mpd.disconnected { margin: 0; padding: 0; } #mpd.stopped { margin: 0; padding: 0; } #mpd.paused { border-top: 2px solid #8b3d00; }