mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-01 00:12:42 +01:00 
			
		
		
		
	
			
				
					
						
					
					460d25ac45b6fc1b1a3557c6d603445ffa13b78e
				
			
			
		
	 rianadon
		
	
	460d25ac45
	
	
	Increase specificity of media stylings
			rianadon
		
	
	460d25ac45
	
	
	Increase specificity of media stylings
		
			
			Because of CSS specificity rules, the `#custom-media` style will always override the `custom-spotify` and `custom-vlc` styles, so the background of the media element is always green rather than sometimes orange when VLC is running. I added `#custom-media` in front of each of the class selectors to increase their specificity so they take precedence.
Waybar  
  
 

Highly customizable Wayland bar for Sway and Wlroots based compositors.
Available in Arch community or AUR and openSUSE
Current features
- Sway (Workspaces, Binding mode, Focused window name)
- Tray #21
- Local time
- Battery
- Network
- Pulseaudio
- Memory
- Cpu load average
- Temperature
- MPD
- Custom scripts
- Multiple output configuration
- And much more customizations
Configuration and Styling
See the wiki for more details.
How to build
$ git clone https://github.com/Alexays/Waybar
$ cd Waybar
$ meson build
$ ninja -C build
$ ./build/waybar
# If you want to install it
$ ninja -C build install
$ waybar
Dependencies
gtkmm3
jsoncpp
libinput
libsigc++
fmt
wayland
wlroots
libpulse [Pulseaudio module]
libnl [Network module]
sway [Sway modules]
libdbusmenu-gtk3 [Tray module]
libmpdclient [MPD module]
Contributions welcome! - have fun :)
The style guidelines is Google's
License
Waybar is licensed under the MIT license. See LICENSE for more information.
					Languages
				
				
								
								
									C++
								
								94.4%
							
						
							
								
								
									Meson
								
								2.8%
							
						
							
								
								
									Python
								
								0.8%
							
						
							
								
								
									CSS
								
								0.6%
							
						
							
								
								
									C
								
								0.5%
							
						
							
								
								
									Other
								
								0.9%