137 lines
3 KiB
JSON
137 lines
3 KiB
JSON
// -*- mode: json -*-
|
|
|
|
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
|
|
"modules-left": [
|
|
"sway/workspaces",
|
|
"custom/right-arrow-dark"
|
|
],
|
|
"modules-center": [
|
|
"custom/left-arrow-dark",
|
|
"clock#1",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"clock#2",
|
|
"custom/right-arrow-dark",
|
|
"custom/right-arrow-light",
|
|
"clock#3",
|
|
"custom/right-arrow-dark"
|
|
],
|
|
"modules-right": [
|
|
"custom/left-arrow-dark",
|
|
"network",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"custom/bluetooth",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"pulseaudio",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"memory",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"cpu",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"custom/battery",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"disk",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"tray"
|
|
],
|
|
|
|
"custom/left-arrow-dark": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/left-arrow-light": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/right-arrow-dark": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/right-arrow-light": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
"disable-scroll": true,
|
|
"format": "{name}"
|
|
},
|
|
|
|
"clock#1": {
|
|
"format": "{:%a}",
|
|
"tooltip": false
|
|
},
|
|
"clock#2": {
|
|
"format": "{:%H:%M}",
|
|
"tooltip": false
|
|
},
|
|
"clock#3": {
|
|
"format": "{:%d.%m}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}%",
|
|
"format-bluetooth": "",
|
|
"format-muted": "",
|
|
"format-source-muted": " ",
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"default": ["", "", " "]
|
|
},
|
|
"scroll-step": 5,
|
|
"on-click": "pavucontrol",
|
|
"tooltip": false
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"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}"
|
|
},
|
|
"memory": {
|
|
"interval": 5,
|
|
"format": " {}%"
|
|
},
|
|
"cpu": {
|
|
"interval": 5,
|
|
"format": " {usage:2}%"
|
|
},
|
|
"custom/bluetooth": {
|
|
"exec": "waybar-bluetooth",
|
|
"return-type": "json",
|
|
"interval": 5,
|
|
"on-click": "bluetooth-toggle",
|
|
"on-click-right": "foot -a launcher -e bluetooth-connect-menu"
|
|
},
|
|
"custom/battery": {
|
|
"exec": "waybar-battery",
|
|
"return-type": "json",
|
|
"interval": 10,
|
|
"on-click-right": "foot -a launcher -e charge-limit-menu"
|
|
},
|
|
"disk": {
|
|
"interval": 5,
|
|
"format": " {percentage_used:2}%",
|
|
"path": "/nix/"
|
|
},
|
|
"tray": {
|
|
"icon-size": 14
|
|
}
|
|
}
|
|
|