01: update config

This commit is contained in:
2026-03-21 12:45:05 -05:00
parent 546aefe946
commit 1e99c5133f
10 changed files with 892 additions and 120 deletions
+130
View File
@@ -0,0 +1,130 @@
[
{
"name": "main",
"layer": "bottom",
"position": "top",
"height": 40,
"spacing": 0,
"output": "eDP-1",
"reload_style_on_change": true,
"modules-left": [
"custom/appmenu",
"disk",
"memory",
"cpu",
"custom/gpu",
"temperature"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"tray",
"wireplumber",
"network#wifi",
"battery",
"clock",
"custom/poweroff"
],
"battery": {
"interval": 20,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [" ", " ", " ", " ", " "],
"max-length": 25
},
"clock": {
"interval": 1,
"format": "<b>{:%H:%M:%S %p}</b>",
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%",
"interval": 5,
"tooltip": false
},
"disk": {
"format": " {percentage_used}%",
"tooltip-format": "{used} / {total} used"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"memory": {
"format": " {}%",
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
},
"temperature": {
"format": "{icon} {temperatureC}°C ",
"format-icons": ["", "", "", "", ""],
"hwmon-path": "/sys/class/thermal/thermal_zone2/temp",
"critical-threshold": 80,
"interval": 5
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", "", "", ""],
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input"
},
"network#wifi": {
"interface": "wlo1",
"format-wifi": "󰣺 {signalStrength}%",
"format-disconnected": "󰣽",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/workspaces": {
"format": "{icon}",
"sort-by-number": true,
"all-outputs": true,
"disable-scroll": true,
"active-only": false,
"format-icons": {
"active": "",
"default": "",
"persistent": "",
},
"persistent-workspaces": {
"1": [ ],
"2": [ ],
"3": [ ],
"4": [ ],
"5": [ ]
}
},
"wireplumber": {
"format": " {volume}%",
"format-muted": " 0%",
"on-click": "pavucontrol",
"on-click-right": "helvum",
"max-volume": 100,
"scroll-step": 5
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/appmenu": {
"format": "",
"on-click": "pkill -x rofi || rofi -show drun"
},
"custom/poweroff": {
"tooltip": false,
"format": " ",
"on-click": "pgrep poweroff.sh || $HOME/.config/waybar/scripts/poweroff.sh"
},
}
]
+53 -29
View File
@@ -4,58 +4,82 @@
border: none;
border-radius: 0px;
min-height: 0;
font-weight: bold;
font-size: 14px;
font-family: "Hack Nerd Font";
}
window#waybar {
background-color: transparent;
color: @text;
}
#workspaces {
margin: 4px 0;
border-radius: 5px;
background: transparent;
background-color: alpha(@crust, 0.3);
border-radius: 0px;
border-bottom: 0px solid @overlay0;
}
#workspaces button {
color: @overlay0;
background: transparent;
transition: all 0.1s ease;
color: @peach;
border-radius: 8px;
margin: 4px 2px;
padding: 0px 8px;
padding-right: 12px; /* why?? */
transition: all 0.4s ease;
}
#workspaces button.active {
color: @lavender;
border-top: 2px solid @lavender;
transition: all 0.1s ease;
background-color: alpha(@peach, 0.2);
transition: all 0.4s ease;
}
.modules-left,
.modules-center,
.modules-right {
padding-top: 0px;
padding-bottom: 0px;
}
.modules-left {
padding-left: 0px;
}
.modules-right {
padding-right: 0px;
}
#battery,
#clock,
#cpu,
#disk,
#memory,
#network,
#temperature,
#tray,
#pulseaudio,
#wireplumber,
#workspaces,
#network,
#custom-appmenu,
#custom-gpu,
#custom-poweroff,
#custom-weather {
padding: 0 10px;
background-color: transparent;
border-radius: 10px;
border: none;
margin-left: 6px;
margin-right: 6px;
color: @peach;
min-width: 45px;
}
#pulseaudio {
color: @sapphire;
#network {
margin: 0px;
padding: 0px;
}
#disk {
color: @peach;
#custom-appmenu,
#workspaces label,
#network {
font-size: 14px;
}
#memory {
color: @teal;
}
#cpu {
color: @lavender;
}
#temperature {
color: @sky;
#clock {
min-width: 80px;
}