109 lines
2.6 KiB
Plaintext
109 lines
2.6 KiB
Plaintext
// -*- mode: jsonc -*-
|
|
{
|
|
"output": ["HDMI-A-1"],
|
|
"layer": "top", // Waybar at top layer
|
|
"position": "top", // Waybar position (top|bottom|left|right)
|
|
"height": 30, // Waybar height (to be removed for auto height)
|
|
// "width": 1280, // Waybar width
|
|
"spacing": 10, // Gaps between modules (4px)
|
|
// Choose the order of the modules
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
],
|
|
"modules-center": [
|
|
"hyprland/window",
|
|
],
|
|
"modules-right": [
|
|
"custom/packages",
|
|
"network",
|
|
"cpu",
|
|
"memory",
|
|
"temperature",
|
|
"clock"
|
|
],
|
|
|
|
|
|
// Modules configuration
|
|
"hyprland/workspaces": {
|
|
"active-only": false,
|
|
"all-outputs": true,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"1": "一",
|
|
"2": "二",
|
|
"3": "三",
|
|
"4": "四",
|
|
"5": "五",
|
|
"6": "六",
|
|
"7": "七",
|
|
"8": "八",
|
|
"9": "九",
|
|
"10": "十",
|
|
}},
|
|
|
|
"hyprland/window": {
|
|
"max-length": 20,
|
|
"min-length": 10
|
|
|
|
},
|
|
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
|
|
"clock": {
|
|
"interval": 60,
|
|
"timezone": "America/Chicago",
|
|
"format": "{:%I:%M}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
},
|
|
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ipaddr}/{cidr} 🖧",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
|
|
"pulseaudio": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{volume}% {icon} {format_source}",
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
"format-muted": " {format_source}",
|
|
"format-source": "{volume}% ",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
|
|
|
|
"custom/packages": {
|
|
"format": "{} 🗁",
|
|
"interval": 30,
|
|
"exec": "dnf check-update -q | grep updates | wc -l 2> /dev/null"
|
|
},
|
|
}
|