// -*- mode: jsonc -*-
{
// "height": 10,
"spacing": 20,
"reload_style_on_change": true,
"modules-left": [ "niri/workspaces" ],
"modules-center": [],
"modules-right": [
"tray",
"cpu",
"memory",
"network",
"backlight",
"wireplumber",
"battery",
"clock",
"clock#calendar"
],
// MODULES
"niri/workspaces": {
"format": "{value}"
},
"clock": {
"format": "{:%R} ",
"format-alt": "{:%r} "
},
"clock#calendar": {
"format": "{:%a %d %B} ",
"format-alt": "{:%Y-%m-%d} ",
"tooltip-format": "{calendar}",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "{}",
"days": "{}",
"weeks": "W{}",
"weekdays": "{}",
"today": "{}"
}
},
"actions": {
"on-click": "mode"
}
},
"battery": {
"interval": 60,
"states": {
"warning": 20,
"critical": 10
},
"format": "{capacity}% {icon}",
"format-alt": "({time}) {capacity}% {icon}",
"format-icons": [" "," "," "," "," "," "," "," "," "," "]
},
"wireplumber": {
"format": "{volume}% {icon}",
"format-muted": " ",
"on-click": "pulsemixer",
"format-icons": [" ", " ", " "]
},
"tray": {
"icon-size": 21,
"spacing": 10,
"icons": {
"blueman": "bluetooth",
"TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
}
},
"network": {
"format": "{ifname}",
"format-wifi": "{essid} ",
"format-ethernet": "{ipaddr}/{cidr} ",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} ",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} " ,
"tooltip-format-disconnected": "Disconnected",
"max-length": 100
},
"memory": {
"interval": 30,
"format": "{used:0.1f}G "
},
"cpu": {
"interval": 10,
"format": "{}% ",
"max-length": 10
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": [" "," "," "," "," "," "," "," "," "," "]
},
// NOT ENABLED
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "horizontal"
}
}