This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/waybar/config

137 lines
3.5 KiB
Plaintext
Raw Normal View History

2020-01-07 19:38:43 -06:00
{
2020-03-24 12:05:08 -05:00
"layer": "top",
"position": "bottom",
2023-05-09 12:05:12 -05:00
"output": ["eDP-1", "DP-3"],
2020-03-24 12:05:08 -05:00
"height": 32,
2023-07-13 10:51:22 -05:00
"modules-left": ["clock", "sway/window"],
2021-06-21 11:14:28 -05:00
"modules-center": ["sway/workspaces"],
2020-01-07 19:38:43 -06:00
"modules-right": [
2023-07-13 11:00:14 -05:00
"mpris",
2020-03-24 12:05:08 -05:00
"idle_inhibitor",
2022-12-06 14:00:19 -06:00
"bluetooth",
2022-12-06 14:01:20 -06:00
// "wireplumber",
2020-01-07 19:38:43 -06:00
"pulseaudio",
2020-03-24 12:05:08 -05:00
// "network",
2020-01-07 19:38:43 -06:00
"cpu",
"memory",
2020-10-09 14:42:29 -05:00
// "temperature",
2020-01-07 19:38:43 -06:00
"backlight",
2022-08-26 00:16:54 -05:00
"battery",
2020-01-07 19:38:43 -06:00
"tray"
],
2022-12-06 14:00:19 -06:00
"bluetooth": {
2023-07-13 11:14:34 -05:00
"format": "<span</span>",
"format-connected": "<span></span>",
"format-connected-battery": "<span></span>",
2022-12-06 14:00:19 -06:00
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
"tooltip-format": "{controller_alias}@{controller_address} ({num_connections} connected)",
"tooltip-format-connected": "{controller_alias}@{controller_address} ({num_connections} connected)\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}@{device_address}",
2023-07-13 11:14:34 -05:00
"tooltip-format-enumerate-connected-battery": "{device_alias}@{device_address} (󰁹 {device_battery_percentage}%)"
2022-12-06 14:00:19 -06:00
},
2023-07-03 21:56:27 -05:00
// "wireplumber": {
// "format": "{volume}% {icon}",
// "format-muted": "",
// "on-click": "helvum"
// },
2020-01-07 19:38:43 -06:00
"sway/workspaces": {
"disable-scroll": false,
2020-03-24 12:05:08 -05:00
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": []
// "10": []
2020-01-07 19:38:43 -06:00
},
2020-03-24 12:05:08 -05:00
"all-outputs": true,
"format": "{name}"
2020-01-07 19:38:43 -06:00
},
"idle_inhibitor": {
2023-07-03 21:56:27 -05:00
"format": "{icon}",
2020-01-07 19:38:43 -06:00
"format-icons": {
2023-07-03 21:56:27 -05:00
"activated": "󰈈",
"deactivated": "󰈉"
2020-01-07 19:38:43 -06:00
}
},
"tray": {
2020-03-24 12:05:08 -05:00
"icon-size": 24,
"spacing": 4
2020-01-07 19:38:43 -06:00
},
"clock": {
"interval": 1,
"format": "{:%a %b %d %H:%M:%S}"
},
"cpu": {
2023-07-13 11:14:34 -05:00
"format": "{usage} <span></span>",
2020-03-24 12:05:08 -05:00
"tooltip": true,
"interval": 3
2020-01-07 19:38:43 -06:00
},
"memory": {
2023-07-03 21:56:27 -05:00
"format": "{} 󰍛"
2020-01-07 19:38:43 -06:00
},
"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}",
2023-07-03 21:56:27 -05:00
"format-icons": ["", ""]
2020-01-07 19:38:43 -06:00
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
2023-07-14 12:30:39 -05:00
"format-charging": "{capacity}% 󱐋",
"format-plugged": "{capacity}% 󰚥",
2020-01-07 19:38:43 -06:00
"format-alt": "{time} {icon}",
2022-12-06 14:00:19 -06:00
"format-good": "", // An empty format will hide the module
2023-07-03 21:56:27 -05:00
"format-full": "󰁹",
"format-icons": ["󰂎", "󰁻", "󰁽", "󰁿", "󰂂"]
2020-01-07 19:38:43 -06:00
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
2023-07-13 10:51:22 -05:00
"mpris": {
"format": "{title} by {artist}"
},
2020-01-07 19:38:43 -06:00
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
2023-07-13 11:14:34 -05:00
"format": "{volume} {icon} <span>{format_source}</span>",
2020-03-24 12:05:08 -05:00
//"format": "{volume}% {icon} {format_source}",
//"format-bluetooth": "{volume}% {icon} {format_source}",
//"format-bluetooth-muted": " {icon} {format_source}",
2020-10-25 00:33:20 -05:00
//"format-muted": " {format_source}",
2023-07-03 21:56:27 -05:00
"format-muted": "󰝟 {format_source}",
2023-07-13 11:14:34 -05:00
"format-source": "",
"format-source-muted": "",
2020-01-07 19:38:43 -06:00
"format-icons": {
"headphones": "",
2023-07-13 11:14:34 -05:00
"handsfree": "󱥋",
"headset": "󰋎",
2020-01-07 19:38:43 -06:00
"phone": "",
"portable": "",
"car": "",
2020-10-25 00:33:20 -05:00
"default": ["", "", ""]
2020-01-07 19:38:43 -06:00
},
2020-10-25 00:33:20 -05:00
// TODO: toggle mute?
2020-01-07 19:38:43 -06:00
"on-click": "pavucontrol"
}
}