mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
Add waybar-styles(5) manual page
waybar(5) describes the configuration syntax but doesn't mention how the stylesheets are handled. This documentation would have been helpful to me as i figured out how to configure waybar.
This commit is contained in:
34
man/waybar-styles.5.scd.in
Normal file
34
man/waybar-styles.5.scd.in
Normal file
@ -0,0 +1,34 @@
|
||||
waybar-styles(5)
|
||||
|
||||
# NAME
|
||||
|
||||
waybar-styles - using stylesheets for waybar
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
Waybar uses Cascading Style Sheets (CSS) to configure its appearance.
|
||||
|
||||
It uses the first file found in this search order:
|
||||
|
||||
- *$XDG_CONFIG_HOME/waybar/style.css*
|
||||
- *~/.config/waybar/style.css*
|
||||
- *~/waybar/style.css*
|
||||
- */etc/xdg/waybar/style.css*
|
||||
- *@sysconfdir@/xdg/waybar/style.css*
|
||||
|
||||
# EXAMPLE
|
||||
|
||||
An example user-controlled stylesheet that just changes the color of the clock to be green on black, while keeping the rest of the system config the same would be:
|
||||
|
||||
```
|
||||
@import url("file:///etc/xdg/waybar/style.css")
|
||||
|
||||
#clock {
|
||||
background: #000000;
|
||||
color: #00ff00;
|
||||
}
|
||||
```
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
- *waybar(5)*
|
Reference in New Issue
Block a user