https://github.com/jmcantrell/swaystatus
Generate a status line for swaybar
https://github.com/jmcantrell/swaystatus
Last synced: 5 months ago
JSON representation
Generate a status line for swaybar
- Host: GitHub
- URL: https://github.com/jmcantrell/swaystatus
- Owner: jmcantrell
- License: mit
- Created: 2024-01-13T08:23:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-03T05:11:16.000Z (5 months ago)
- Last Synced: 2026-02-03T18:40:55.105Z (5 months ago)
- Language: Python
- Homepage:
- Size: 282 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swaystatus
Generate a status line for [swaybar][swaybar-protocol].
## Installation
### Python
Install as a python package:
pip install swaystatus
### Arch User Repository (AUR)
There are two packages available for Arch Linux, available via the AUR:
- [swaystatus][pkg-aur] (stable, based on the latest tag)
- [swaystatus-git][pkg-aur-git] (unstable, based on the latest commit)
## Usage
To see documentation for the python package:
pydoc swaystatus
To see documentation for the command line interface:
swaystatus --help
See [sway-bar(5)][sway-bar] for details on setting `status_command`.
See [swaybar-protocol(7)][swaybar-protocol] for a definition of the status bar protocol.
[pkg-aur]: https://aur.archlinux.org/packages/swaystatus/
[pkg-aur-git]: https://aur.archlinux.org/packages/swaystatus-git/
[sway-bar]: https://man.archlinux.org/man/extra/sway/sway-bar.5.en
[swaybar-protocol]: https://man.archlinux.org/man/swaybar-protocol.7