123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- {
- "layer": "top", //Show waybar at the top of other layers.
- "position": "top", //Show waybar at the top of the screen.
- "spacing": 4, //Gaps between modules. (Othen changes).
-
- "modules-left": ["sway/workspaces"],
- "modules-center": ["sway/window"],
- "modules-right": ["tray", "network", "pulseaudio", "temperature", "sway/language", "clock"],
- "clock": {
- "format": " {:%H:%M %e %b}",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "today-format": "<b>{}</b>",
- },
- "sway/window": {
- "format": "{}",
- "max-length": 50,
- "tooltip": false,
- },
- "sway/language": {
- "format": "<big></big> {}",
- "max-length": 5,
- "min-length": 5,
- },
- "tray": {
- "spacing": 5,
- },
- "network": {
- "format-wifi": " {essid}",
- "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "",
- "format-alt": "{ifname}: {ipaddr}/{cidr}",
- "family": "ipv4",
- "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n {bandwidthUpBits} {bandwidthDownBits}",
- "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n {bandwidthUpBits} {bandwidthDownBits}"
- },
- "pulseaudio": {
- "scroll-step": 3,
- "format": "{icon} {volume}% {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "",
- "format-source-muted": "",
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", ""],
- },
- "on-click": "pavucontrol",
- "on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
- },
- "temperature": {
- "interval": "4",
- "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
- "critical-threshold": 74,
- "format-critical": " {temperatureC}°C",
- "format": "{icon} {temperatureC}°C",
- "format-icons": ["", "", ""],
- "max-length": 7,
- "min-length": 7
- },
- }
|