The WakaTime Module for Waybar integrates WakaTime with Waybar, allowing you to track your coding activity and display the time spent coding directly on your bar.
Note: To use this module, you must have the WakaTime plugin installed in one of your IDEs. Additionally, a
.wakatime.conf
file should exist in your root directory.
-
Download the release archive and unzip it.
-
Grant execute permissions to the binary file:
chmod +x ./waybar-code-stats
3.Move the binary file to your Waybar configuration directory:
mv ./waybar-code-stats ~/.config/waybar/
- Configure the module in your Waybar
config.jsonc
file:
Once installed, you can customize the module's appearance in your style.css
file:
#custom-wakatime {
color: #a46df6; /* Adjust the color as desired */
border-radius: 20px;
margin-left: 5px;
border-right: 0px;
transition: 0.3s;
padding-left: 7px;
}
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to:
- Submit an issue on the GitHub repository.
- Open a pull request with your changes.