From b352181b3d232ccc79ffc1d9e22a633729d01a47 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Sun, 25 Sep 2022 22:49:54 +0100 Subject: [PATCH] docs: update json example --- examples/config.json | 51 +++++++++++++++++++++++++++++++------------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/examples/config.json b/examples/config.json index 98e26ab..375d9dd 100644 --- a/examples/config.json +++ b/examples/config.json @@ -1,18 +1,39 @@ { - "monitors": { - "DP-1": [ - { - "left": [{"type": "clock"}] - }, - { - "position": "top", - "left": [] - } - ], - "DP-2": { - "position": "bottom", - "height": 30, - "left": [] + "left": [ + { + "type": "workspaces" + }, + { + "type": "launcher", + "icon_theme": "Paper", + "favorites": ["firefox", "discord", "Steam"], + "show_names": false } - } + ], + "right": [ + { + "type": "mpd" + }, + { + "type": "mpd", + "host": "chloe:6600" + }, + { + "path": "/home/jake/bin/phone-battery", + "type": "script" + }, + { + "format": [ + "{cpu-percent}% ", + "{memory-percent}% " + ], + "type": "sys-info" + }, + { + "type": "tray" + }, + { + "type": "clock" + } + ] } \ No newline at end of file