Update README.md

This commit is contained in:
Stephen Seo 2022-08-10 14:25:02 +09:00
parent ace10eec3f
commit 02c09b0540

View file

@ -23,10 +23,13 @@ Put the following in your `~/.config/sway/config`:
# A "built-in" for "acpi -b" is available, and can be activated with the # A "built-in" for "acpi -b" is available, and can be activated with the
# --acpi-builtin flag: # --acpi-builtin flag:
status_command $HOME/.config/sway/swaybar_info --acpi-builtin
#status_command $HOME/.config/sway/swaybar_info --acpi-builtin
# One can use the "--regex-cmd=<cmd>[SPLIT]<args...>[SPLIT]<regex>" option like so: # One can use the "--regex-cmd=<cmd>[SPLIT]<args...>[SPLIT]<regex>" option like so:
status_command $HOME/.config/sway/swaybar_info --regex-cmd="acpi[SPLIT]-b[SPLIT][0-9]+%.*"
#status_command $HOME/.config/sway/swaybar_info --regex-cmd="acpi[SPLIT]-b[SPLIT][0-9]+%.*"
# This example gets battery info into the bar. # This example gets battery info into the bar.
# Multiple args should be separated with "[SPLIT]". # Multiple args should be separated with "[SPLIT]".
# Note that the <args...> portion is optional. # Note that the <args...> portion is optional.