summaryrefslogtreecommitdiff
path: root/waybar/style.css
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2023-12-30 19:23:04 -0500
committerottjk <joshott16@gmail.com>2023-12-30 19:23:04 -0500
commited46f1c5e82709417085b1a3b7708b209c5f4bfe (patch)
treed7eb3f2b4b00e75e5f10199e1cbff959c355b312 /waybar/style.css
downloaddotfiles-ed46f1c5e82709417085b1a3b7708b209c5f4bfe.tar.gz
dotfiles-ed46f1c5e82709417085b1a3b7708b209c5f4bfe.zip
initial commit
Diffstat (limited to 'waybar/style.css')
-rw-r--r--waybar/style.css315
1 files changed, 315 insertions, 0 deletions
diff --git a/waybar/style.css b/waybar/style.css
new file mode 100644
index 0000000..a0c0a32
--- /dev/null
+++ b/waybar/style.css
@@ -0,0 +1,315 @@
+@import "macchiato.css";
+
+* {
+ /* `otf-font-awesome` is required to be installed for icons */
+ font-family: FiraCode Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;
+ font-size: 13px;
+}
+
+window#waybar {
+ background-color: alpha(@base, 0);
+ /* border-bottom: 3px solid alpha(@surface0, 0.5); */
+ 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;
+}
+*/
+
+window#waybar.termite {
+ background-color: #3F3F3F;
+}
+
+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 @rosewater;
+}
+
+#workspaces button {
+ padding: 0 5px;
+ background-color: transparent;
+ color: @text;
+}
+
+#workspaces button:hover {
+ background: rgba(0, 0, 0, 0.2);
+}
+
+#workspaces button.focused {
+ background-color: @surface1;
+ box-shadow: inset 0 3px @flamingo;
+}
+
+#workspaces button.urgent {
+ background-color: @red;
+ color: @mantle;
+}
+
+#mode {
+ background-color: @surface1;
+ border-top: 3px solid @rosewater;
+}
+
+#clock,
+#battery,
+#cpu,
+#memory,
+#disk,
+#temperature,
+#backlight,
+#network,
+#pulseaudio,
+#wireplumber,
+#custom-media,
+#tray,
+#mode,
+#idle_inhibitor,
+#scratchpad,
+#mpd {
+ padding: 0 10px;
+ color: @text;
+}
+
+#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;
+}
+
+#clock {
+ /* background-color: #64727D; */
+ border-top: 3px solid @lavender;
+ color: @lavender;
+}
+
+#battery {
+ /* background-color: #ffffff; */
+ color: @blue;
+ border-top: 3px solid @blue;
+ padding-right: 18px;
+}
+
+#battery.charging, #battery.plugged {
+ color: @surface0;
+ background-color: @green;
+ border-top: 0;
+ padding-right: 11px;
+}
+
+@keyframes blink {
+ to {
+ background-color: #ffffff;
+ color: #000000;
+ }
+}
+
+#battery.critical:not(.charging) {
+ background-color: #f53c3c;
+ color: #ffffff;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+}
+
+label:focus {
+ background-color: #000000;
+}
+
+#cpu {
+ /* background-color: #2ecc71; */
+ /* color: #000000; */
+ border-top: 3px solid @peach;
+}
+
+#memory {
+ /* background-color: #9b59b6; */
+ border-top: 3px solid @peach;
+ padding-right: 15px;
+}
+
+#disk {
+ background-color: #964B00;
+}
+
+#backlight {
+ /* background-color: #90b1b1; */
+ border-top: 3px solid @peach;
+ color: @peach;
+ padding-right: 11px;
+}
+
+#network {
+ /* background-color: #2980b9; */
+ border-top: 3px solid @yellow;
+ color: @yellow;
+ padding-right: 15px;
+}
+
+#network.disconnected {
+ /* background-color: #f53c3c; */
+ border-top: 3px solid @red;
+ color: @red;
+}
+
+#pulseaudio {
+ /* background-color: #f1c40f; */
+ /* color: #000000; */
+ border-top: 3px solid @maroon;
+ color: @maroon;
+}
+
+#pulseaudio.muted {
+ /* background-color: #90b1b1; */
+ /* color: #2a5c45; */
+ border-top: 3px solid @flamingo;
+ background-color: @flamingo;
+ color: @mantle;
+}
+
+#wireplumber {
+ background-color: #fff0f5;
+ color: #000000;
+}
+
+#wireplumber.muted {
+ background-color: #f53c3c;
+}
+
+#custom-media {
+ background-color: #66cc99;
+ color: #2a5c45;
+ min-width: 100px;
+}
+
+#custom-media.custom-spotify {
+ background-color: #66cc99;
+}
+
+#custom-media.custom-vlc {
+ background-color: #ffa000;
+}
+
+#temperature {
+ /* background-color: #f0932b; */
+ border-top: 3px solid @teal;
+ color: @teal;
+ padding-right: 12px;
+}
+
+#temperature.critical {
+ background-color: #eb4d4b;
+ border-top: 3px solid #eb4d4b;
+ color: #ffffff;
+}
+
+#tray {
+ /* background-color: #2980b9; */
+ border-top: 3px solid @mauve;
+}
+
+#tray > .passive {
+ -gtk-icon-effect: dim;
+}
+
+#tray > .needs-attention {
+ -gtk-icon-effect: highlight;
+ background-color: #eb4d4b;
+}
+
+#idle_inhibitor {
+ /* background-color: #2d3436; */
+ border-top: 3px solid @mantle;
+ padding-right: 14px;
+}
+
+#idle_inhibitor.activated {
+ background-color: @text;
+ color: @mantle;
+ border-top: 3px solid @subtext0;
+}
+
+#mpd {
+ background-color: #66cc99;
+ color: #2a5c45;
+}
+
+#mpd.disconnected {
+ background-color: #f53c3c;
+}
+
+#mpd.stopped {
+ background-color: #90b1b1;
+}
+
+#mpd.paused {
+ background-color: #51a37a;
+}
+
+#language {
+ /* background: #00b093; */
+ color: @sapphire;
+ padding: 0 5px;
+ /* margin: 0 5px; */
+ min-width: 16px;
+ border-top: 3px solid @sapphire;
+}
+
+#keyboard-state {
+ background: #97e1ad;
+ color: #000000;
+ 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: @mantle;
+}
+
+#scratchpad.empty {
+ background-color: transparent;
+}