Skip to content

Instantly share code, notes, and snippets.

@yfe404
Created July 19, 2019 05:53
Show Gist options
  • Save yfe404/3d83c28385b1a5f660238d940c8c9035 to your computer and use it in GitHub Desktop.
Save yfe404/3d83c28385b1a5f660238d940c8c9035 to your computer and use it in GitHub Desktop.
Get i3 status bar logs
for c in $(i3-msg -t get_bar_config | python -c \
'import json,sys;print("\n".join(json.load(sys.stdin)))'); do \
(i3bar --bar_id=$c >i3bar.$c.log 2>&1) & \
done;
cat i3bar.bar-*.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment