home/config/waybar/config
2021-01-08 09:39:31 +01:00

106 lines
2.3 KiB
Text

[
{
"layer": "bottom",
"position": "bottom",
"margin": 4,
"modules-left": [
"sway/workspaces",
"sway/mode"
],
"modules-center": [
],
"modules-right": [
"disk#1",
"disk#2",
"network",
"cpu",
"memory",
"temperature#1",
"temperature#2",
"temperature#3",
"pulseaudio",
"custom/multimedia_previous",
"custom/multimedia_current",
"custom/multimedia_next",
"clock",
"tray"
],
"sway/workspaces": {
"all-outputs": true
},
"sway/mode": {
"format": " {}"
},
"disk#1": {
"interval": 60,
"format": " {percentage_used:2}%",
"path": "/"
},
"disk#2": {
"interval": 60,
"format": " {percentage_used:2}%",
"path": "/home"
},
"network": {
"interface": "eno2",
"format": " {ipaddr}",
"format-disconnected": "-"
},
"cpu": {
"format": " {load}%"
},
"memory": {
"format": " {percentage}%"
},
"temperature#1": {
"thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"format": " {temperatureC}°C"
},
"temperature#2": {
"thermal-zone": 0,
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
"format": "{temperatureC}°C"
},
"temperature#3": {
"thermal-zone": 1,
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
"format": "{temperatureC}°C"
},
"pulseaudio": {
"format": "♪ {volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 5,
"on-click": "pavucontrol"
},
"custom/multimedia_previous": {
"format": "",
"on-click": "~/Bin/music.sh Previous"
},
"custom/multimedia_current": {
"interval": 10,
"exec": "~/Bin/nowPlaying.sh",
"on-click": "~/Bin/music.sh PlayPause"
},
"custom/multimedia_next": {
"format": "",
"on-click": "~/Bin/music.sh Next"
},
"clock": {
"format": "{:%d/%m %H:%M}"
},
"tray": {
"spacing": 10
}
}
]