aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-10-03 20:05:52 +0800
committerGitHub <noreply@github.com>2024-10-03 20:05:52 +0800
commit85ada354a89fd75a377bbcdae2c0e252f5bd4b6f (patch)
tree4e4e24ce55ed6384705ba3b7c7454886af92a82d /config
parentf4cb48203ab002534aab5e0c0b1269f0f850aaf3 (diff)
parent0aafebf4822dab0670381607108db880cf6db9b7 (diff)
Merge pull request #465 from 0xl30/patch-4
Waybar style with Rainbow Border
Diffstat (limited to 'config')
-rw-r--r--config/waybar/style/catppuccin-themes/rgbmocha.css49
-rw-r--r--config/waybar/style/rgbmocha.css331
2 files changed, 380 insertions, 0 deletions
diff --git a/config/waybar/style/catppuccin-themes/rgbmocha.css b/config/waybar/style/catppuccin-themes/rgbmocha.css
new file mode 100644
index 00000000..14b07c49
--- /dev/null
+++ b/config/waybar/style/catppuccin-themes/rgbmocha.css
@@ -0,0 +1,49 @@
+/*
+*
+* Catppuccin Mocha palette
+* Maintainer: rubyowo
+*
+*/
+
+@define-color base #1e1e2e;
+@define-color mantle #181825;
+@define-color crust #11111b;
+
+@define-color text #cdd6f4;
+@define-color subtext0 #a6adc8;
+@define-color subtext1 #bac2de;
+
+@define-color surface0 #313244;
+@define-color surface1 #45475a;
+@define-color surface2 #585b70;
+
+@define-color overlay0 #6c7086;
+@define-color overlay1 #7f849c;
+@define-color overlay2 #9399b2;
+
+@define-color blue #89b4fa;
+@define-color lavender #b4befe;
+@define-color sapphire #74c7ec;
+@define-color sky #89dceb;
+@define-color teal #94e2d5;
+@define-color green #a6e3a1;
+@define-color yellow #f9e2af;
+@define-color peach #fab387;
+@define-color maroon #eba0ac;
+@define-color red #f38ba8;
+@define-color mauve #cba6f7;
+@define-color pink #f5c2e7;
+@define-color flamingo #f2cdcd;
+@define-color rosewater #f5e0dc;
+
+@keyframes rainbow-gradient {
+ 0% {
+ border-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet) 1;
+ }
+ 50% {
+ border-image: linear-gradient(270deg, violet, indigo, blue, green, yellow, orange, red) 1 1 1 1;
+ }
+ 100% {
+ border-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet) 1;
+ }
+}
diff --git a/config/waybar/style/rgbmocha.css b/config/waybar/style/rgbmocha.css
new file mode 100644
index 00000000..fb60ba3e
--- /dev/null
+++ b/config/waybar/style/rgbmocha.css
@@ -0,0 +1,331 @@
+/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
+/* Catppuccin Mocha */
+
+* {
+ font-family: "JetBrainsMono Nerd Font";
+ font-weight: bold;
+ min-height: 0;
+ /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */
+ font-size: 97%;
+ font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
+}
+
+@import "../waybar/style/catppuccin-themes/rgbmocha.css";
+
+window#waybar {
+ transition-property: background-color;
+ transition-duration: 0.5s;
+ background: transparent;
+ border-radius: 10px;
+}
+
+window#waybar.hidden {
+ opacity: 0.2;
+}
+
+window#waybar.empty,
+window#waybar.empty #window {
+ background-color: transparent;
+ padding: 0px;
+ border: 0px;
+}
+
+#taskbar button,
+#workspaces button {
+ color: @overlay1;
+ box-shadow: none;
+ text-shadow: none;
+ padding: 0px;
+ border-radius: 9px;
+ padding-left: 4px;
+ padding-right: 4px;
+ animation: gradient_f 20s ease-in infinite;
+ transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
+}
+
+#taskbar button:hover,
+#workspaces button:hover {
+ border-radius: 10px;
+ color: @peach;
+ background-color: @surface0;
+ padding-left: 2px;
+ padding-right: 2px;
+ animation: gradient_f 20s ease-in infinite;
+ transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
+}
+
+#workspaces button.persistent {
+ color: @surface1;
+ border-radius: 10px;
+}
+
+#taskbar button.active,
+#workspaces button.active {
+ color: @mauve;
+ border-radius: 10px;
+ padding-left: 8px;
+ padding-right: 8px;
+ animation: gradient_f 20s ease-in infinite;
+ transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
+}
+
+#workspaces button.urgent {
+ color: @red;
+ border-radius: 0px;
+}
+
+/* This section can be use if you want to separate waybar modules */
+.modules-left, .modules-center, .modules-right {
+ background: @theme_base_color;
+ border: 0.5px solid @overlay0;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ padding-right: 4px;
+ padding-left: 4px;
+ border-radius: 10px;
+
+}
+
+.modules-left, .modules-center, .modules-right {
+ background: @theme_base_color;
+ border: 1px solid transparent;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ padding-right: 4px;
+ padding-left: 4px;
+ border-radius: 10px;
+
+ border-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet) 1;
+ animation: rainbow-gradient 10s ease-in-out infinite; /* Adjust timing as needed */
+}
+
+
+
+#backlight,
+#backlight-slider,
+#battery,
+#bluetooth,
+#clock,
+#cpu,
+#disk,
+#idle_inhibitor,
+#keyboard-state,
+#memory,
+#mode,
+#mpris,
+#network,
+#power-profiles-daemon,
+#pulseaudio,
+#pulseaudio-slider,
+#taskbar button,
+#taskbar,
+#temperature,
+#tray,
+#window,
+#wireplumber,
+#workspaces,
+#custom-backlight,
+#custom-browser,
+#custom-cava_mviz,
+#custom-cycle_wall,
+#custom-file_manager,
+#custom-keybinds,
+#custom-keyboard,
+#custom-light_dark,
+#custom-lock,
+#custom-hint,
+#custom-hypridle,
+#custom-menu,
+#custom-power_vertical,
+#custom-power,
+#custom-settings,
+#custom-spotify,
+#custom-swaync,
+#custom-tty,
+#custom-updater,
+#custom-weather,
+#custom-weather.clearNight,
+#custom-weather.cloudyFoggyDay,
+#custom-weather.cloudyFoggyNight,
+#custom-weather.default,
+#custom-weather.rainyDay,
+#custom-weather.rainyNight,
+#custom-weather.severe,
+#custom-weather.showyIcyDay,
+#custom-weather.snowyIcyNight,
+#custom-weather.sunnyDay {
+ padding-top: 4px;
+ padding-bottom: 4px;
+ padding-right: 6px;
+ padding-left: 6px;
+}
+/*-----Indicators----*/
+#custom-hypridle.notactive,
+#idle_inhibitor.activated {
+ color: #39FF14;
+}
+
+#bluetooth,
+#backlight {
+ color: @blue;
+}
+
+#battery {
+ color: @green;
+}
+
+@keyframes blink {
+ to {
+ color: @surface0;
+ }
+}
+
+#battery.critical:not(.charging) {
+ background-color: @red;
+ color: @theme_text_color;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+ box-shadow: inset 0 -3px transparent;
+}
+
+#clock {
+ color: @yellow;
+}
+
+#cpu {
+ color: @green;
+}
+
+#custom-keyboard,
+#memory {
+ color: @sky;
+}
+
+#disk {
+ color: @sapphire;
+}
+
+#temperature {
+ color: @teal;
+}
+
+#temperature.critical {
+ background-color: @red;
+}
+
+#tray > .passive {
+ -gtk-icon-effect: dim;
+}
+#tray > .needs-attention {
+ -gtk-icon-effect: highlight;
+}
+
+#keyboard-state {
+ color: @flamingo;
+}
+
+#custom-cava_mviz {
+ animation: rainbow-text 0.80s linear infinite;
+}
+
+@keyframes rainbow-text {
+ 0% { color: rgb(0, 247, 198); } /* Low amplitude */
+ 42% { color: rgb(60, 0, 179); } /* Mid amplitude */
+ 71% { color: indigo; } /* Higher amplitude */
+ 100% { color: rgb(234, 0, 255); } /* Maximum amplitude */
+}
+
+
+#custom-menu {
+ color: @rosewater;
+}
+
+#custom-power {
+ color: @red;
+}
+
+#custom-updater {
+ color: @red;
+}
+
+#custom-light_dark {
+ color: @blue;
+}
+
+#custom-weather {
+ color: @lavender;
+}
+
+#custom-lock {
+ color: @maroon;
+}
+
+#pulseaudio {
+ color: @sapphire;
+}
+
+#pulseaudio.bluetooth {
+ color: @pink;
+}
+#pulseaudio.muted {
+ color: @red;
+}
+
+#window {
+ color: @mauve;
+}
+
+#mpris {
+ color:@lavender;
+}
+
+#network {
+ color: @teal;
+}
+#network.disconnected,
+#network.disabled {
+ background-color: @surface0;
+ color: @text;
+}
+#pulseaudio-slider slider {
+ min-width: 0px;
+ min-height: 0px;
+ opacity: 0;
+ background-image: none;
+ border: none;
+ box-shadow: none;
+}
+
+#pulseaudio-slider trough {
+ min-width: 80px;
+ min-height: 5px;
+ border-radius: 5px;
+}
+
+#pulseaudio-slider highlight {
+ min-height: 10px;
+ border-radius: 5px;
+}
+
+#backlight-slider slider {
+ min-width: 0px;
+ min-height: 0px;
+ opacity: 0;
+ background-image: none;
+ border: none;
+ box-shadow: none;
+}
+
+#backlight-slider trough {
+ min-width: 80px;
+ min-height: 10px;
+ border-radius: 5px;
+}
+
+#backlight-slider highlight {
+ min-width: 10px;
+ border-radius: 5px;
+} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage