Theming waybar to fit DoomOne colors.

This commit is contained in:
Derek Taylor
2024-11-08 18:36:04 -06:00
parent bed51220e0
commit 2267efa5a1
2 changed files with 58 additions and 23 deletions

View File

@@ -8,14 +8,15 @@
"hyprland/workspaces" "hyprland/workspaces"
], ],
"modules-center": [ "modules-center": [
"clock"
], ],
"modules-right": [ "modules-right": [
"tray", "tray",
"custom/kernel",
"cpu",
"memory", "memory",
"network", "custom/diskfree",
"clock",
"wireplumber", "wireplumber",
"battery",
"custom/power" "custom/power"
], ],
"wlr/taskbar": { "wlr/taskbar": {
@@ -54,10 +55,14 @@
"9": [] "9": []
} }
}, },
"cpu": {
"format": "⧯ Cpu: {usage}%" ,
"tooltip": false
},
"memory": { "memory": {
"interval": 5, "interval": 5,
"format": "󰍛 {}%", "format": "󰍛 Mem: {}%",
"max-length": 10 "max-length": 15
}, },
"tray": { "tray": {
"spacing": 10 "spacing": 10
@@ -65,7 +70,7 @@
"clock": { "clock": {
"tooltip-format": "{calendar}", "tooltip-format": "{calendar}",
"format-alt": " {:%a, %d %b %Y}", "format-alt": " {:%a, %d %b %Y}",
"format": " {:%I:%M %p}" "format": " {:%a, %b %d - %H:%M}"
}, },
"network": { "network": {
"format-wifi" : "{icon}", "format-wifi" : "{icon}",
@@ -135,6 +140,25 @@
}, },
"tooltip": false "tooltip": false
}, },
"custom/pacman": {
"format": "{} ",
"interval": "once",
"exec": "pacman_packages",
"on-click": "update-system",
"signal": 8
},
"custom/kernel": {
"format": "❤ {}",
"interval": 3600,
"max-length": 20,
"exec": "uname -r"
},
"custom/diskfree": {
"format": "🖴 Disk: {} used",
"interval": 300,
"max-length": 20,
"exec": "df --total -hl | grep 'sda1' | awk '{print $5}'"
},
"custom/power": { "custom/power": {
"format": "󰤆", "format": "󰤆",
"tooltip": false, "tooltip": false,

View File

@@ -2,12 +2,13 @@
border: none; border: none;
border-radius: 0; border-radius: 0;
min-height: 0; min-height: 0;
font-family: JetBrainsMono Nerd Font; font-family: Ubuntu;
font-size: 13px; font-size: 13px;
font-weight: bold;
} }
window#waybar { window#waybar {
background-color: #181825; background-color: #282c34;
transition-property: background-color; transition-property: background-color;
transition-duration: 0.5s; transition-duration: 0.5s;
} }
@@ -50,8 +51,11 @@ window#waybar.hidden {
background-color: #f38ba8; background-color: #f38ba8;
} }
#cpu,
#memory, #memory,
#custom-kernel,
#custom-power, #custom-power,
#custom-diskfree,
#battery, #battery,
#backlight, #backlight,
#wireplumber, #wireplumber,
@@ -61,12 +65,20 @@ window#waybar.hidden {
border-radius: 4px; border-radius: 4px;
margin: 6px 3px; margin: 6px 3px;
padding: 6px 12px; padding: 6px 12px;
background-color: #1e1e2e; background-color: #282c34;
color: #181825; color: #282c34;
}
#custom-kernel {
background-color: #ff6c6b;
} }
#custom-power { #custom-power {
margin-right: 6px; margin-right: 6px;
background-color: #f2cdcd;
}
#custom-diskfree {
background-color: #fc9867;
} }
#custom-logo { #custom-logo {
@@ -78,8 +90,13 @@ window#waybar.hidden {
color: #1793d1; color: #1793d1;
} }
#cpu {
background-color: #98be65;
}
#memory { #memory {
background-color: #fab387; background-color: #46d9ff;
} }
#battery { #battery {
@@ -89,38 +106,32 @@ window#waybar.hidden {
#battery.warning, #battery.warning,
#battery.critical, #battery.critical,
#battery.urgent { #battery.urgent {
background-color: #ff0000; background-color: #ff6c6b;
color: #FFFF00; color: #f1fa8c;
} }
#battery.charging { #battery.charging {
background-color: #a6e3a1; background-color: #98be65;
color: #181825; color: #181825;
} }
#backlight { #backlight {
background-color: #fab387; background-color: #ff6c6b;
} }
#wireplumber { #wireplumber {
background-color: #f9e2af; background-color: #46d9ff;
} }
#network { #network {
background-color: #94e2d5; background-color: #98be65;
padding-right: 17px; padding-right: 17px;
} }
#clock { #clock {
font-family: JetBrainsMono Nerd Font;
background-color: #cba6f7; background-color: #cba6f7;
} }
#custom-power {
background-color: #f2cdcd;
}
tooltip { tooltip {
border-radius: 8px; border-radius: 8px;
padding: 15px; padding: 15px;