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

116 lines
2.8 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",
"output": ["eDP-1", "DP-1"],
2020-03-24 12:05:08 -05:00
"height": 32,
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],
2020-01-07 19:38:43 -06:00
"modules-right": [
2020-03-24 12:05:08 -05:00
"idle_inhibitor",
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",
"battery",
"tray"
],
"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": {
2020-03-24 12:05:08 -05:00
"format": "<span foreground=\"#666666\">{icon}</span>",
2020-01-07 19:38:43 -06:00
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"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": {
2020-03-24 12:05:08 -05:00
"format": "{usage} <span foreground=\"#666666\"></span>",
"tooltip": true,
"interval": 3
2020-01-07 19:38:43 -06:00
},
"memory": {
2020-10-25 00:33:20 -05:00
"format": "{} <span foreground=\"#666666\"></span>"
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}",
"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": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
2020-10-25 00:33:20 -05:00
"format": "{volume} <span weight='900' face=\"Font Awesome 5 Free\" foreground=\"#666666\">{icon}</span> {format_source}",
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}",
"format-muted": "<span foreground=\"#666666\"></span> {format_source}",
2020-10-25 00:45:21 -05:00
"format-source": "<span foreground=\"#f92672\"> </span>",
"format-source-muted": "<span foreground=\"#66d9ef\"> </span>",
2020-01-07 19:38:43 -06:00
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"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"
}
}