Invert background and foreground module colors

This commit is contained in:
Sravan Balaji
2024-10-03 22:58:15 -04:00
parent 0ec71118ec
commit ff7c1615fd
3 changed files with 98 additions and 98 deletions

View File

@@ -557,7 +557,7 @@ killall waybar
"group/media-playing": { "group/media-playing": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": [
"custom/media-playing-change", "custom/media-playing-source",
"custom/media-playing-prev", "custom/media-playing-prev",
"custom/media-playing-play-pause", "custom/media-playing-play-pause",
"custom/media-playing-next", "custom/media-playing-next",
@@ -615,8 +615,8 @@ window#waybar {
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#battery { #battery {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#+END_SRC #+END_SRC
@@ -637,8 +637,8 @@ window#waybar {
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#cpu { #cpu {
background: #ffb86c; background: transparent;
color: #282a36; color: #ffb86c;
} }
#+END_SRC #+END_SRC
@@ -678,8 +678,8 @@ window#waybar {
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#clock { #clock {
background: #bd93f9; background: transparent;
color: #282a36; color: #bd93f9;
} }
#+END_SRC #+END_SRC
@@ -720,20 +720,20 @@ window#waybar {
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#custom-dunst-status { #custom-dunst-status {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#custom-dunst-clear { #custom-dunst-clear {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#custom-dunst-history-view { #custom-dunst-history-view {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#custom-dunst-history-clear { #custom-dunst-history-clear {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#+END_SRC #+END_SRC
@@ -779,29 +779,29 @@ fi
**** Styling **** Styling
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#tags { #tags button {
background: #44475a; background: transparent;
color: #f8f8f2; color: #44475a;
} }
#tags button.occupied { #tags button.occupied {
background: #f1fa8c; background: transparent;
color: #282a36; color: #f1fa8c;
} }
#tags button.focused { #tags button.focused {
background: #bd93f9; background: transparent;
color: #282a36; color: #bd93f9;
} }
#tags button.urgent { #tags button.urgent {
background: #ff5555; background: transparent;
color: #282a36; color: #ff5555;
} }
#window.title { #window.title {
background: #8be9fd; background: transparent;
color: #282a36; color: #f8f8f2;
} }
#window.layout { #window.layout {
background: #f1fa8c; background: transparent;
color: #282a36; color: #50fa7b;
} }
#+END_SRC #+END_SRC
@@ -823,8 +823,8 @@ fi
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#disk { #disk {
background: #f1fa8c; background: transparent;
color: #282a36; color: #f1fa8c;
} }
#+END_SRC #+END_SRC
@@ -846,8 +846,8 @@ fi
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#memory { #memory {
background: #8be9fd; background: transparent;
color: #282a36; color: #8be9fd;
} }
#+END_SRC #+END_SRC
@@ -856,7 +856,7 @@ fi
**** Configuration **** Configuration
#+BEGIN_SRC jsonc :tangle waybar/config.jsonc #+BEGIN_SRC jsonc :tangle waybar/config.jsonc
"custom/media-playing-change": { "custom/media-playing-source": {
"exec": "~/.config/dwl/waybar/scripts/get-media-playing.sh", "exec": "~/.config/dwl/waybar/scripts/get-media-playing.sh",
"return-type": "json", "return-type": "json",
"restart-interval": 1, "restart-interval": 1,
@@ -884,21 +884,21 @@ fi
**** Styling **** Styling
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#custom-media-playing-change { #custom-media-playing-source {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-media-playing-prev { #custom-media-playing-prev {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-media-playing-play-pause { #custom-media-playing-play-pause {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-media-playing-next { #custom-media-playing-next {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#+END_SRC #+END_SRC
@@ -1010,8 +1010,8 @@ echo '{"text":"'$mediaSourceIcon'","tooltip":"󰝚\t'$title'\r󰠃\t'$artist'\r
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#custom-power-menu { #custom-power-menu {
background: #8be9fd; background: transparent;
color: #282a36; color: #8be9fd;
} }
#+END_SRC #+END_SRC
@@ -1047,8 +1047,8 @@ echo '{"text":"'$mediaSourceIcon'","tooltip":"󰝚\t'$title'\r󰠃\t'$artist'\r
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#pulseaudio { #pulseaudio {
background: #bd93f9; background: transparent;
color: #282a36; color: #bd93f9;
} }
#+END_SRC #+END_SRC
@@ -1070,8 +1070,8 @@ echo '{"text":"'$mediaSourceIcon'","tooltip":"󰝚\t'$title'\r󰠃\t'$artist'\r
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#custom-system76-power { #custom-system76-power {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#+END_SRC #+END_SRC
@@ -1103,7 +1103,7 @@ echo '{"text":"󰢮 '$graphics'","tooltip":"󰢮\t'$graphics'\r󰐥\t'$graphicsP
#+BEGIN_SRC css :tangle waybar/style.css #+BEGIN_SRC css :tangle waybar/style.css
#tray { #tray {
background: #44475a; background: transparent;
} }
#+END_SRC #+END_SRC

View File

@@ -41,7 +41,7 @@
"group/media-playing": { "group/media-playing": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": [
"custom/media-playing-change", "custom/media-playing-source",
"custom/media-playing-prev", "custom/media-playing-prev",
"custom/media-playing-play-pause", "custom/media-playing-play-pause",
"custom/media-playing-next", "custom/media-playing-next",
@@ -166,7 +166,7 @@
"on-click-right": "kitty btop", "on-click-right": "kitty btop",
}, },
"custom/media-playing-change": { "custom/media-playing-source": {
"exec": "~/.config/dwl/waybar/scripts/get-media-playing.sh", "exec": "~/.config/dwl/waybar/scripts/get-media-playing.sh",
"return-type": "json", "return-type": "json",
"restart-interval": 1, "restart-interval": 1,

View File

@@ -11,104 +11,104 @@ window#waybar {
} }
#battery { #battery {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#cpu { #cpu {
background: #ffb86c; background: transparent;
color: #282a36; color: #ffb86c;
} }
#clock { #clock {
background: #bd93f9; background: transparent;
color: #282a36; color: #bd93f9;
} }
#custom-dunst-status { #custom-dunst-status {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#custom-dunst-clear { #custom-dunst-clear {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#custom-dunst-history-view { #custom-dunst-history-view {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#custom-dunst-history-clear { #custom-dunst-history-clear {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#tags { #tags button {
background: #44475a; background: transparent;
color: #f8f8f2; color: #44475a;
} }
#tags button.occupied { #tags button.occupied {
background: #f1fa8c; background: transparent;
color: #282a36; color: #f1fa8c;
} }
#tags button.focused { #tags button.focused {
background: #bd93f9; background: transparent;
color: #282a36; color: #bd93f9;
} }
#tags button.urgent { #tags button.urgent {
background: #ff5555; background: transparent;
color: #282a36; color: #ff5555;
} }
#window.title { #window.title {
background: #8be9fd; background: transparent;
color: #282a36; color: #f8f8f2;
} }
#window.layout { #window.layout {
background: #f1fa8c; background: transparent;
color: #282a36; color: #50fa7b;
} }
#disk { #disk {
background: #f1fa8c; background: transparent;
color: #282a36; color: #f1fa8c;
} }
#memory { #memory {
background: #8be9fd; background: transparent;
color: #282a36; color: #8be9fd;
} }
#custom-media-playing-change { #custom-media-playing-source {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-media-playing-prev { #custom-media-playing-prev {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-media-playing-play-pause { #custom-media-playing-play-pause {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-media-playing-next { #custom-media-playing-next {
background: #ff79c6; background: transparent;
color: #282a36; color: #ff79c6;
} }
#custom-power-menu { #custom-power-menu {
background: #8be9fd; background: transparent;
color: #282a36; color: #8be9fd;
} }
#pulseaudio { #pulseaudio {
background: #bd93f9; background: transparent;
color: #282a36; color: #bd93f9;
} }
#custom-system76-power { #custom-system76-power {
background: #50fa7b; background: transparent;
color: #282a36; color: #50fa7b;
} }
#tray { #tray {
background: #44475a; background: transparent;
} }