mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
147 lines
3.3 KiB
JSON
147 lines
3.3 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 28,
|
|
"spacing": 4,
|
|
|
|
"modules-left": [
|
|
"hyprland/workspaces"
|
|
],
|
|
|
|
"modules-center": [
|
|
"custom/music"
|
|
],
|
|
|
|
"modules-right": [
|
|
"temperature",
|
|
"memory",
|
|
"cpu",
|
|
//"pulseaudio",
|
|
"backlight",
|
|
"network",
|
|
"bluetooth",
|
|
"battery",
|
|
"clock",
|
|
"custom/powermenu",
|
|
"tray"
|
|
],
|
|
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"format": "{name}",
|
|
"on-click": "activate",
|
|
"persistent-workspaces": {
|
|
"*": [1, 2, 3, 4, 5]
|
|
}
|
|
},
|
|
|
|
"backlight": {
|
|
"device": "intel_backlight",
|
|
"on-scroll-up": "light -A 5",
|
|
"on-scroll-down": "light -U 5",
|
|
"format": "{percent}% {icon}",
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"scroll-step": 1,
|
|
"format": "{volume}% {icon}",
|
|
"format-muted": "mute ",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol",
|
|
"tooltip": false
|
|
},
|
|
|
|
"battery": {
|
|
"interval": 10,
|
|
"states": {
|
|
"warning": 20,
|
|
"critical": 10
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
},
|
|
|
|
"clock": {
|
|
"interval": 1,
|
|
"timezone": "Europe/Rome",
|
|
"format": "{:%H:%M}",
|
|
"tooltip-format": "{:%Y %B}\n{calendar}",
|
|
"format-alt": "{:%A %d/%m/%Y}"
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 1,
|
|
"format": "{percentage}% ",
|
|
"states": {
|
|
"warning": 85
|
|
}
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 1,
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
|
|
"network": {
|
|
"interval": 1,
|
|
"tooltip": true,
|
|
"format-wifi": "{icon}",
|
|
"format-ethernet": "{icon}",
|
|
"format-linked": "",
|
|
"format-icons": ["", "", "", ""],
|
|
"format-disconnected": "",
|
|
"tooltip-format": "{ifname}",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"on-click": "nm-connection-editor"
|
|
},
|
|
|
|
"temperature": {
|
|
"critical-threshold": 80,
|
|
"format": "{temperatureC}°C ",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/powermenu": {
|
|
"format": "",
|
|
"on-click": "~/.local/bin/powermenu",
|
|
"tooltip": false
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 15,
|
|
"spacing": 6
|
|
},
|
|
|
|
"bluetooth": {
|
|
"format": "",
|
|
"format-connected": "{device_alias} ",
|
|
"format-connected-battery": "{device_alias} {device_battery_percentage}% ",
|
|
"format-off": "",
|
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
|
"on-click": "blueman-manager"
|
|
},
|
|
|
|
"custom/music": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "waybar-module-music"
|
|
}
|
|
}
|