33 lines
1.7 KiB
Markdown
33 lines
1.7 KiB
Markdown
## Waybar
|
|
|
|

|
|
|
|
My personal Waybar config.
|
|
|
|
Instead of directly editing the `.css` file, I recommend using Sass and
|
|
edit the [`style.scss`](./_style.scss) and `_colors.scss` files instead. This allows you for example, to
|
|
change the entire color of the bar with just one variable change.
|
|
|
|
[Install the latest version of Sass](https://github.com/sass/dart-sass/releases)
|
|
and run this in the `waybar/` directory so that the CSS file will be automatically updated as you edit the Sass files:
|
|
|
|
```sass --watch . --no-source-map```
|
|
|
|
By just editing the `$bg` value in [`_colors.scss`](./_colors.scss), you can get an entirely different color:
|
|
|
|

|
|

|
|

|
|

|
|
|
|
|
|
## Fonts
|
|
|
|
If the River workspace fonts don't show up, you need to download the specific Japanese font, Han Sans JP.
|
|
The command for this on Arch/Arch-based systems should be `sudo pacman -S adobe-source-han-sans-jp-fonts` .
|
|
|
|
## Dependencies
|
|
|
|
For the GitHub download stats counter to work, you need to have Python 3 installed and also the Requests library.
|
|
Install it with `pip install requests`. You also need mpd installed AND running for the modules at the center.
|