wip:waybar

This commit is contained in:
Dennis Schoepf 2025-12-19 00:28:30 +01:00
parent 8d786e37a7
commit e0b15d993b
3 changed files with 128 additions and 8 deletions

View file

@ -1,23 +1,86 @@
{
// Bar Options
"layer": "top",
"output": "DP-3",
"position": "left",
"margin": "5px",
"margin-left": 8,
"margin-top": 8,
"margin-bottom": 8,
// TODO: Remove
"reload_style_on_change": true,
// Placing Modules
"modules-left": [
"clock",
"custom/cpu-label",
"cpu",
"custom/memory-label",
"memory",
"custom/disk-label",
"disk"
],
"modules-center": [
"niri/workspaces"
],
"modules-center": [],
"modules-right": [
"clock"
"wireplumber",
"tray"
],
// Module Configuration
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
"active": "",
"default": ""
"active": "󰄯",
"default": "󰄰"
}
},
"clock": {
"interval": 60,
"format": "{:%H\n%M}",
"format-alt": "<span color='#d369af'>{:%d\n%m}</span>",
"tooltip": false,
"justify": "center"
},
"custom/cpu-label": {
"format": "CPU",
"tooltip": false
},
"cpu": {
"interval": "30",
"format": "{usage}%",
"max-length": 2
},
"custom/memory-label": {
"format": "MEM",
"tooltip": false
},
"memory": {
"interval": "30",
"format": "{percentage}%",
"max-length": 2
},
"custom/disk-label": {
"format": "SSD",
"tooltip": false
},
"disk": {
"interval": "30",
"format": "{percentage_used}%",
"max-length": 2
},
"wireplumber": {
"on-click": "pamixer -t",
"on-click-right": "pwvucontrol",
"format": "{icon}",
"format-muted": "󰖁",
"format-icons": {
"default": [
"󰕿",
"󰖀",
"󰕾"
]
}
},
"tray": {
"icon-size": 14,
"spacing": 18
}
}