.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-styles" "5" "2024-05-09" .PP .SH NAME .PP waybar-styles - using stylesheets for waybar .PP .SH DESCRIPTION .PP Waybar uses Cascading Style Sheets (CSS) to configure its appearance.\& .PP It uses the first file found in this search order: .PP .PD 0 .IP \(bu 4 \fB$XDG_CONFIG_HOME/waybar/style.\&css\fR .IP \(bu 4 \fB~/.\&config/waybar/style.\&css\fR .IP \(bu 4 \fB~/waybar/style.\&css\fR .IP \(bu 4 \fB/etc/xdg/waybar/style.\&css\fR .IP \(bu 4 \fB/etc/xdg/waybar/style.\&css\fR .PD .PP .SH EXAMPLE .PP 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: .PP .nf .RS 4 @import url("file:///etc/xdg/waybar/style\&.css") #clock { background: #000000; color: #00ff00; } .fi .RE .PP .SS Hover-effect .PP You can apply special styling to any module for when the cursor hovers it.\& .PP .nf .RS 4 #clock:hover { background-color: #ffffff; } .fi .RE .PP .SH SEE ALSO .PP .PD 0 .IP \(bu 4 \fBwaybar(5)\fR