This commit is contained in:
2025-10-22 10:40:05 +03:00
parent 8e3e70b6f2
commit 86492ae52e
14 changed files with 502 additions and 57 deletions

View File

@@ -0,0 +1,76 @@
{
"layer": "top",
// "output": "HDMI-A-1",
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-right": [
"cpu",
"temperature",
"memory",
"bluetooth",
"network",
"battery",
"clock"
],
"hyprland/window": {
"format": "| {}",
"separate-outputs": true
},
"battery": {
"format": "{capacity}% {icon}",
"format-icons": [" ", " ", " ", " ", " "]
},
"cpu": {
"interval": 2,
"format": " {}%",
"max-length": 10
},
"temperature": {
"format": "({temperatureC}°C)",
"format-critical": "({temperatureC}°C)"
},
"memory": {
"interval": 5,
"format": " {}%",
"max-length": 10
},
"bluetooth": {
"format": " {status}",
"format-disabled": "", // an empty format will hide the module
"format-connected": " {num_connections}",
"tooltip-format": "{controller_alias}\t{controller_address}",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}"
},
"network": {
"interface": "wlan0",
"format": " {ifname}",
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": "{ipaddr}/{cidr} 󰊗",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰊗",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50
},
"battery": {
"bat": "BAT1",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [" ", " ", " ", " ", " "],
"max-length": 25
},
"clock": {
"format": "{:%H:%M (%Z)}",
"tooltip-format": "{tz_list}",
"timezones": [
"Europe/Moscow",
"Etc/UTC",
"America/New_York"
]
}
}

View File

@@ -0,0 +1,6 @@
#! /bin/bash
killall -9 waybar
waybar &

View File

@@ -0,0 +1,50 @@
* {
border: none;
border-radius: 0;
font-family: "Terminus", "Roboto", "Helvetica", "Arial", sans-serif;
font-size: 1.4rem;
min-height: 0;
}
window#waybar {
background: rgba(43, 48, 59, 0.5);
border-bottom: 1px solid rgba(100, 114, 125, 0.5);
color: white;
}
tooltip {
background: rgba(43, 48, 59, 0.5);
border: 1px solid rgba(100, 114, 125, 0.5);
}
tooltip label {
color: white;
}
#workspaces button {
padding: 5px 5px 3px 5px;
background: transparent;
color: white;
}
#workspaces button.focused {
background: #64727D;
border-bottom: 3px solid white;
}
#mode, #temperature, #memory, #bluetooth, #network, #battery, #clock {
padding: 5px 10px 3px 10px;
border-right: 1px solid rgba(100, 114, 125, 0.2);
}
#mode {
background: #64727D;
border-bottom: 1px solid white;
}
@keyframes blink {
to {
background-color: #ffffff;
color: black;
}
}