dotfiles/waybar/config.jsonc

66 lines
1.6 KiB
JSON

{
"layer": "top",
"position": "top",
"height": 30,
"mode": "dock",
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],
"modules-right": ["wireplumber", "backlight", "sway/language", "temperature", "cpu", "memory", "upower#mouse", "battery", "tray"],
"temperature":
{
"format": " {temperatureC}󰔄",
"format-critical": " {temperatureC}󰔄 ",
"critical-threshold": 70
},
"tray":
{
"spacing": 5,
"icon-size": 25
},
"cpu":
{
"format": " {usage} 󱉸"
},
"memory":
{
"format" : " {percentage} 󱉸"
},
"battery":
{
"format": "{icon} {capacity} 󱉸",
"format-icons": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂"],
"states": {
"critical": 25,
"warning": 25
}
},
"upower#mouse":
{
"native-path": "hidpp_battery_0",
"show-icon": false,
"format": "󰍽 {percentage}",
"tooltip": false
},
"wireplumber":
{
"format": " {volume} 󱉸",
"format-muted": "󰝟",
"max-volume": 100,
"on-click": ""
},
"backlight":
{
"format": "{icon} {percent} 󱉸",
"format-icons": ["󱩎", "󱩏", "󱩐", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󱩖"]
},
"sway/language":
{
"format": "{flag} {short}({variant})"
},
"clock":
{
"format": "{:L%A %d %B %Y | %H:%M} 󰥔",
"locale": "fr_FR.utf8"
}
}