rix101/modules/home-manager/reo101-river/waybar
reo101 793afa76d1
feat(reo101-river): update
Add waybar config
Fix screenshot keybind
2023-03-23 08:21:56 +02:00

91 lines
2.9 KiB
Text

{
"layer": "bottom", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
"spacing": 4, // Gaps between modules (4px)
"modules-left": ["river/tags"],
// "modules-center": ["sway/window"],
// "modules-right": ["idle_inhibitor", "pulseaudio", "network", "backlight",
// "battery", "cpu","memory", "temperature", "clock",
// "tray"],
"modules-right": [ "tray", "network", "pulseaudio", "battery", "clock" ],
"river/tags": {
"num-tags": 9
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": " ",
"deactivated": " "
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"tooltip-format":
"<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
// "cpu": {
// "format": "{usage}% ",
// "tooltip": false
// },
// "memory": {
// "format": "{}% "
// },
// "temperature": {
// // "thermal-zone": 2,
// // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
// "critical-threshold": 80,
// // "format-critical": "{temperatureC}°C {icon}",
// "format": "{temperatureC}°C {icon}",
// "format-icons": ["", "", ""]
// },
// "backlight": {
// // "device": "acpi_video1",
// "format": "{percent}% {icon}",
// "format-icons": [""]
// },
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-good": "{capacity}% {icon}",
"format-full": "{capacity}% {icon}",
"format-icons": [" ", " ", " ", " ", " "]
},
"network": {
"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": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
}
// vim: ft=jsonc: