summaryrefslogtreecommitdiffstats
path: root/waybar-theme.nix
diff options
context:
space:
mode:
authorAndrew <admonty1@protonmail.com>2025-08-21 12:55:58 -0400
committerAndrew <admonty1@protonmail.com>2025-08-21 12:55:58 -0400
commit645f9c407eaca470fea0837274e419b0d54bfa77 (patch)
treec6ea42ea0fc35bcd63b86662277de4b4a98ad671 /waybar-theme.nix
parentmodularize brave config and rmpc config and theme (diff)
downloadnixos-645f9c407eaca470fea0837274e419b0d54bfa77.tar.gz
nixos-645f9c407eaca470fea0837274e419b0d54bfa77.tar.bz2
nixos-645f9c407eaca470fea0837274e419b0d54bfa77.zip
format
Diffstat (limited to 'waybar-theme.nix')
-rw-r--r--waybar-theme.nix302
1 files changed, 151 insertions, 151 deletions
diff --git a/waybar-theme.nix b/waybar-theme.nix
index 783df4c..92beca2 100644
--- a/waybar-theme.nix
+++ b/waybar-theme.nix
@@ -1,183 +1,183 @@
-{config, pkgs, ...}:
+{ config, pkgs, ... }:
{
-home.file = {
- style = ''
-* {
- font-size: 14px;
- border-radius: 5px;
-}
+ home.file = {
+ style = ''
+ * {
+ font-size: 14px;
+ border-radius: 5px;
+ }
-window#waybar {
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: "Noto Color Emoji", monospace;
- background-color: transparent;
- border-bottom: 0px;
- color: #ebdbb2;
- transition-property: background-color;
- transition-duration: .5s;
-}
+ window#waybar {
+ /* `otf-font-awesome` is required to be installed for icons */
+ font-family: "Noto Color Emoji", monospace;
+ background-color: transparent;
+ border-bottom: 0px;
+ color: #ebdbb2;
+ transition-property: background-color;
+ transition-duration: .5s;
+ }
-window#waybar.hidden {
- opacity: 0.2;
-}
+ window#waybar.hidden {
+ opacity: 0.2;
+ }
-window#waybar.empty #window {
- background-color: transparent;
-}
+ window#waybar.empty #window {
+ background-color: transparent;
+ }
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
+ /*
+ window#waybar.empty {
+ background-color: transparent;
+ }
+ window#waybar.solo {
+ background-color: #FFFFFF;
+ }
+ */
-.modules-right {
- margin: 10px 10px 0 0;
-}
-.modules-center {
- margin: 10px 0 0 0;
-}
-.modules-left {
- margin: 10px 0 0 10px;
-}
+ .modules-right {
+ margin: 10px 10px 0 0;
+ }
+ .modules-center {
+ margin: 10px 0 0 0;
+ }
+ .modules-left {
+ margin: 10px 0 0 10px;
+ }
-button {
- /* Use box-shadow instead of border so the text isn't offset */
- /* box-shadow: inset 0 -3px transparent; */
- border: none;
-}
+ button {
+ /* Use box-shadow instead of border so the text isn't offset */
+ /* box-shadow: inset 0 -3px transparent; */
+ border: none;
+ }
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-/*
-button:hover {
- background: inherit;
- box-shadow: inset 0 -3px #ebdbb2;
-} */
+ /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
+ /*
+ button:hover {
+ background: inherit;
+ box-shadow: inset 0 -3px #ebdbb2;
+ } */
-#workspaces {
- background-color: #282828;
-}
+ #workspaces {
+ background-color: #282828;
+ }
-#workspaces button {
- padding: 0 5px;
- background-color: transparent;
- color: #ebdbb2;
- border-radius: 0;
-}
+ #workspaces button {
+ padding: 0 5px;
+ background-color: transparent;
+ color: #ebdbb2;
+ border-radius: 0;
+ }
-#workspaces button:first-child {
- border-radius: 5px 0 0 5px;
-}
+ #workspaces button:first-child {
+ border-radius: 5px 0 0 5px;
+ }
-#workspaces button:last-child {
- border-radius: 0 5px 5px 0;
-}
+ #workspaces button:last-child {
+ border-radius: 0 5px 5px 0;
+ }
-#workspaces button:hover {
- color: #d79921;
-}
+ #workspaces button:hover {
+ color: #d79921;
+ }
-#workspaces button.focused {
- background-color: #665c54;
- /* box-shadow: inset 0 -3px #ffffff; */
-}
+ #workspaces button.focused {
+ background-color: #665c54;
+ /* box-shadow: inset 0 -3px #ffffff; */
+ }
-#workspaces button.urgent {
- background-color: #b16286;
-}
+ #workspaces button.urgent {
+ background-color: #b16286;
+ }
-#idle_inhibitor,
-#cava,
-#scratchpad,
-#mode,
-#window,
-#clock,
-#battery,
-#backlight,
-#wireplumber,
-#tray,
-#mpris,
-#load {
- padding: 0 10px;
- background-color: #282828;
- color: #ebdbb2;
-}
+ #idle_inhibitor,
+ #cava,
+ #scratchpad,
+ #mode,
+ #window,
+ #clock,
+ #battery,
+ #backlight,
+ #wireplumber,
+ #tray,
+ #mpris,
+ #load {
+ padding: 0 10px;
+ background-color: #282828;
+ color: #ebdbb2;
+ }
-#mode {
- background-color: #689d6a;
- color: #282828;
- /* box-shadow: inset 0 -3px #ffffff; */
-}
+ #mode {
+ background-color: #689d6a;
+ color: #282828;
+ /* box-shadow: inset 0 -3px #ffffff; */
+ }
-/* If workspaces is the leftmost module, omit left margin */
-.modules-left > widget:first-child > #workspaces {
- margin-left: 0;
-}
+ /* 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;
-}
+ /* If workspaces is the rightmost module, omit right margin */
+ .modules-right > widget:last-child > #workspaces {
+ margin-right: 0;
+ }
-#cava {
- padding: 0 5px;
-}
+ #cava {
+ padding: 0 5px;
+ }
-#battery.charging, #battery.plugged {
- background-color: #98971a;
- color: #282828;
-}
+ #battery.charging, #battery.plugged {
+ background-color: #98971a;
+ color: #282828;
+ }
-@keyframes blink {
- to {
- background-color: #282828;
- color: #ebdbb2;
- }
-}
+ @keyframes blink {
+ to {
+ background-color: #282828;
+ color: #ebdbb2;
+ }
+ }
-/* Using steps() instead of linear as a timing function to limit cpu usage */
-#battery.critical:not(.charging) {
- background-color: #cc241d;
- color: #ebdbb2;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: steps(12);
- animation-iteration-count: infinite;
- animation-direction: alternate;
-}
+ /* Using steps() instead of linear as a timing function to limit cpu usage */
+ #battery.critical:not(.charging) {
+ background-color: #cc241d;
+ color: #ebdbb2;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: steps(12);
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+ }
-label:focus {
- background-color: #000000;
-}
+ label:focus {
+ background-color: #000000;
+ }
-#wireplumber.muted {
- background-color: #458588;
-}
+ #wireplumber.muted {
+ background-color: #458588;
+ }
-#tray > .passive {
- -gtk-icon-effect: dim;
-}
+ #tray > .passive {
+ -gtk-icon-effect: dim;
+ }
-#tray > .needs-attention {
- -gtk-icon-effect: highlight;
-}
+ #tray > .needs-attention {
+ -gtk-icon-effect: highlight;
+ }
-#mpris.playing {
- background-color: #d79921;
- color: #282828;
-}
+ #mpris.playing {
+ background-color: #d79921;
+ color: #282828;
+ }
-#tray menu {
- font-family: sans-serif;
-}
+ #tray menu {
+ font-family: sans-serif;
+ }
-#scratchpad.empty {
- background: transparent;
-}
- '';
+ #scratchpad.empty {
+ background: transparent;
+ }
+ '';
-};
+ };
}