{
"layer": "top",
"position": "top",
"mode": "dock",
"exclusive": true,
"passthrough": false,
"gtk-layer-shell": true,
"height": 0,
"output": ["HDMI-A-3"],
"modules-left": ["clock", "hyprland/language", "hyprland/workspaces"],
"modules-center": ["hyprland/window"],
"modules-right": [
"tray",
"memory",
"cpu",
"network",
"battery",
"backlight",
"pulseaudio",
"pulseaudio#microphone",
],
"hyprland/window": {
"format": " {}",
},
// user created manually
// "custom/window": {
// "exec": "~/.config/waybar/scritps/test.sh",
// "format": " {}"
// },
"hyprland/workspaces": {
"format": "{icon}",
"disable-scroll": true,
"all-outputs": true,
"on-click": "activate",
},
// user created manually
"hyprland/language": {
"format": "{}",
"min-length": 2,
"format-en": "English",
"format-ir": "ir",
"format-persian": "ir",
// "on-click":
// "keyboard-name": "evision-rgb-keyboard"
},
"tray": {
"icon-size": 13,
"spacing": 10,
},
"clock": {
"format": "{:%A %B-%d-%Y %I:%M:%S %p}",
"interval": 1,
"rotate": 0,
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "{}",
"weekdays": "{}",
"today": "{}",
"days": "{}",
},
},
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": ["", "", ""],
"on-scroll-up": "brightnessctl set 1%+",
"on-scroll-down": "brightnessctl set 1%-",
"min-length": 6,
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 20,
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
},
"pulseaudio": {
"format": "{icon} {volume}%",
"tooltip": false,
"format-muted": " Muted",
"on-click": "pamixer -t",
// user created manually
"on-click-right": "pavucontrol",
"on-scroll-up": "pamixer -i 1",
"on-scroll-down": "pamixer -d 1",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", "", ""],
},
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " Muted",
"on-click": "pamixer --default-source -t",
"on-click-right": "pavucontrol",
"on-scroll-up": "pamixer --default-source -i 5",
"on-scroll-down": "pamixer --default-source -d 5",
"scroll-step": 5,
},
"memory": {
"states": {
"c": 90, // critical
"h": 60, // high
"m": 30, // medium
},
"interval": 10,
"format": " {used}GB",
"format-m": " {used}GB",
"format-h": " {used}GB",
"format-c": " {used}GB",
"format-alt": " {percentage}%",
"max-length": 10,
"tooltip": true,
"tooltip-format": " {percentage}%\n {used:0.1f}GB/{total:0.1f}GB",
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
},
"network": {
"tooltip": true,
"format-wifi": " {essid}",
"format-ethernet": " ",
"tooltip-format": "Network: {essid}\nSignal strength: {signaldBm}dBm ({signalStrength}%)\nFrequency: {frequency}MHz\nInterface: {ifname}\nIP: {ipaddr}/{cidr}\nGateway: {gwaddr}\nNetmask: {netmask}",
"format-linked": " {ifname} (No IP)",
"format-disconnected": " ",
"tooltip-format-disconnected": "Disconnected",
"format-alt": " {bandwidthDownBytes} {bandwidthUpBytes}",
// user created manually
"on-click-right": "nm-connection-editor",
"interval": 2,
},
}