altdesktop / i3ipc-python

🐍 An improved Python library to control i3wm and sway.
http://i3ipc-python.readthedocs.io
BSD 3-Clause "New" or "Revised" License
851 stars 109 forks source link

added separator symbol and some doc for bar config reply #166

Closed charlie45000 closed 2 years ago

charlie45000 commented 3 years ago

Hello! I added the separator symbol entry to the bar config reply (it seems to be left undocumented on the i3 ipc doc, but still exists:

{
  "id": "bar-0",
  "tray_padding": 2,
  "mode": "hide",
  "hidden_state": "hide",
  "modifier": 0,
  "position": "top",
  "status_command": "i3blocks -c $HOME/.config/i3/i3blocks.conf | tee /tmp/i3blocks.log",
  "font": "pango:DejaVu Sans Mono 8",
  "separator_symbol": "",
  "workspace_buttons": true,
  "workspace_min_width": 0,
  "strip_workspace_numbers": false,
  "strip_workspace_name": false,
  "binding_mode_indicator": true,
  "verbose": false,
  "colors": {
    "background": "#2f343f",
    "separator": "#757575",
    "focused_workspace_border": "#2f343f",
    "focused_workspace_bg": "#2f343f",
    "focused_workspace_text": "#f3f4f5",
    "inactive_workspace_border": "#2f343f",
    "inactive_workspace_bg": "#2f343f",
    "inactive_workspace_text": "#676E7D",
    "urgent_workspace_border": "#E53935",
    "urgent_workspace_bg": "#E53935",
    "urgent_workspace_text": "#f3f4f5"
  }
}

I added some doc for lines in the bar config reply (it complete before the update that added some entries.)

charlie45000 commented 3 years ago

I marked it draft, because I intend to finish the doc of the entries before setting it ready for review