Skip to content

Commit

Permalink
Merge pull request #417 from DevNChill/main
Browse files Browse the repository at this point in the history
New waybar everforest themed config and style
  • Loading branch information
JaKooLit authored Aug 28, 2024
2 parents 83e2b7f + b17b3e5 commit 43d868c
Show file tree
Hide file tree
Showing 2 changed files with 348 additions and 0 deletions.
124 changes: 124 additions & 0 deletions config/waybar/configs/Everforest
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
/* -- designed by https://github.com/DevNChill */
// ### Everforest ### //

{
"include": "~/.config/waybar/modules",
"layer": "top",
//"mode": "dock",
"exclusive": true,
"passthrough": false,
"position": "top",
//"spacing": 6,
"fixed-center": true,
"ipc": true,
//"margin-top": 3,
//"margin-left": 8,
//"margin-right": 8,

"modules-left": [
"custom/arch",
"custom/separator#blank_2",
"hyprland/workspaces#rw",
"custom/separator#blank_2",
// "mpris",
"custom/swaync",
"tray",
],
"modules-center": [
"clock#forest",
"idle_inhibitor",
],
"modules-right": [
"cpu#forest",
"memory#forest",
"temperature",
"disk#forest",
"custom/separator#blank_2",
"backlight",
""battery#forest"",
"custom/separator#blank_2",
"group/audio",
],

// Additional / Edited Waybar Modules //
"custom/arch": {
"format":" ",
"tooltip": false,
"on-click": "rofi -show drun"
},
"clock#forest": {
"format": "{:%A %d.%m.%Y - %H:%M}",
"tooltip-format": "<span color='#D3C6AA' size='larger'>{:%Y %B}</span>\n<tt>{calendar}</tt>",
"calendar-weeks-pos": "right",
"today-format": "<span color='#E67E80' weight='ultrabold'>{}</span>",
"format-calendar": "<span color='#D3C6AA' weight='normal'>{}</span>",
"format-calendar-weeks": "<span color='#7FBBB3'><b>W{:%V}</b></span>",
"format-calendar-weekdays": "<span color='#A7C080'><b>{}</b></span>",
"on-scroll": {
"calendar": 1
}
},
"battery#forest": {
//"interval": 5,
"align": 0,
"rotate": 0,
//"bat": "BAT1",
//"adapter": "ACAD",
"full-at": 100,
"design-capacity": false,
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "Battery {icon} {capacity}%",
"format-charging": "Battery  {capacity}%",
"format-plugged": "Battery 󱘖 {capacity}%",
"format-alt-click": "click",
"format-full": "Battery {icon} Full",
"format-alt": "Battery {icon} {time}",
"format-icons": [
"󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"
],
"format-time": "{H}h {M}min",
"tooltip": true,
"tooltip-format": "{timeTo} {power}w",
"on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh",
"on-click-right": "~/.config/hypr/scripts/Wlogout.sh",
},

"cpu#forest": {
"format": "Cpu 󰍛 {usage}%",
"interval": 1,
"min-length": 5,
"format-alt-click": "click",
"format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% 󰍛",
"format-icons": [
"▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"
],
"on-click-right": "gnome-system-monitor",
},

"disk#forest": {
"interval": 30,
//"format": "Disk 󰋊",
"path": "/",
//"format-alt-click": "click",
"format": "Disk 󰋊 {used}",
"on-click-right": "baobab",
// "tooltip": true,
// "tooltip-format": "Disk {used} used out of {total} on {path} ({percentage_used}%)",
},

"memory#forest": {
"interval": 10,
"format": "Ram 󰾆 {used:0.1f}G",
"format-alt": "Ram {percentage}% 󰾆",
"format-alt-click": "click",
"tooltip": true,
"tooltip-format": "Ram {used:0.1f}GB/{total:0.1f}G",
"on-click-right": "kitty --title btop sh -c 'btop'"
},
}

224 changes: 224 additions & 0 deletions config/waybar/style/everforest.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
@define-color bg_dim #232A2E;
@define-color black #000000;
@define-color white #FFFFFF;
@define-color bg0 #2D353B;
@define-color bg1 #343F44;
@define-color bg2 #3D484D;
@define-color bg3 #475258;
@define-color bg4 #4F585E;
@define-color bg5 #56635f;
@define-color bg_visual #543A48;
@define-color bg_red #514045;
@define-color bg_green #425047;
@define-color bg_blue #3A515D;
@define-color bg_yellow #4D4C43;
@define-color fg #D3C6AA;
@define-color red #E67E80;
@define-color orange #E69875;
@define-color yellow #DBBC7F;
@define-color green #A7C080;
@define-color aqua #83C092;
@define-color blue #7FBBB3;
@define-color purple #D699B6;
@define-color grey0 #7A8478;
@define-color grey1 #859289;
@define-color grey2 #9DA9A0;
* {
font-family: "JetBrainsMono Nerd Font";
font-weight: bold;
min-height: 0;
/*font-size: 97%;*/
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
border: 1px solid transparent;
border-radius: 0px;
margin: 0px 1px;
}

window#waybar {
border: none;
/*background-color: @bg_green;*/
background-color: @bg_green;
color: @fg;
transition-property: background-color;
transition-duration: 0.5s;
}

.modules-left button:first-child {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
margin-left: 5px;
}

.modules-left button:last-child {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
margin-right: 5px;
}

#custom-arch {
background-color: @bg;
color: @red;
}

#custom-swaync {
color: @yellow;
}
#workspaces button {
padding: 0px 5px;
background-color: @orange;
color: @black;
}

#workspaces button.active {
background-color: @grey0;
color: @black;
animation: gradient_f 20s ease-in infinite;
/*transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);*/
}
#workspaces button:hover {
background-color: @purple;
color: @black;
}

#workspaces button.focused {
background-color: @green;
color: @bg0;
}

#workspaces button.urgent {
background-color: @red; /* Keeps the original color */
color: @white; /* Sets text color to white for better contrast */
border: 2px solid @red; /* Adds a border with the same color */
box-shadow: 0 0 10px @red; /* Adds a glow effect */
font-weight: bold; /* Makes text bold for more emphasis */
transition:
background-color 0.3s,
box-shadow 0.3s; /* Smooth transition for hover effect */
}

#window {
padding: 0px 10px;
margin: 0px 10px;
border-radius: 5px;
background-color: @bg0;
}
window#waybar.empty #window {
background: none;
}

#cpu {
border-radius: 5px 0px 0px 5px;
padding: 0px 5px;
background-color: @yellow;
color: @bg_yellow;
}

#memory {
padding: 0px 5px;
background-color: @yellow;
color: @bg_yellow;
}

#temperature {
padding: 0px 5px;
background-color: @green;
color: @bg_yellow;
}
#temperature.critical {
background-color: @red;
}

#disk {
border-radius: 0px 5px 5px 0px;
padding: 0px 5px;
margin-right: 5px;
background-color: @green;
color: @bg_yellow;
}

#battery {
border-radius: 5px 0px 0px 5px;
}
#battery.bat2 {
border-radius: 0px 5px 5px 0px;
}

.modules-left :last-child {
border-radius: 0px 5px 5px 0px;
}
#battery {
padding: 0px 5px;
background-color: @aqua;
color: @bg_yellow;
}
#battery.plugged {
color: @fg;
background-color: @bg_green;
}
#battery.charging {
color: @fg;
background-color: @bg_green;
}
#battery.critical:not(.charging) {
background-color: @red;
color: @fg;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink {
to {
background-color: @fg;
color: @bg_dim;
}
}

#backlight {
border-radius: 5px 0px 0px 5px;
padding: 0px 5px;
margin-left: 5px;
background-color: @red;
color: @black;
}

#pulseaudio {
padding: 0px 5px;
border-radius: 0px 5px 5px 0px;
background-color: @blue;
color: @bg_yellow;
}

#pulseaudio.muted {
background-color: @grey1;
color: @bg_yellow;
}

#tray {
padding: 0px 5px;
border-radius: 5px;
margin-left: 5px;
color: @fg;
background-color: @bg0;
}

#idle_inhibitor {
padding: 0px 5px;
border-radius: 5px;
margin-left: 5px;
background-color: @blue;
color: @black;
}
#idle_inhibitor.activated {
background-color: @fg;
color: @bg0;
}

#clock {
padding: 0px 5px;
border-radius: 5px;
margin: 0px 5px;
color: @bg_yellow;
background-color: @aqua;
}

0 comments on commit 43d868c

Please sign in to comment.