| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  | { | 
					
						
							|  |  |  |   "layer": "top", // Waybar at top layer | 
					
						
							|  |  |  |   "position": "bottom", // Waybar position (top|bottom|left|right) | 
					
						
							|  |  |  |   "height": 30, // Waybar height (to be removed for auto height) | 
					
						
							|  |  |  |   // Choose the order of the modules | 
					
						
							|  |  |  |   "modules-left": ["sway/workspaces", "sway/mode", "sway/window"], | 
					
						
							|  |  |  |   "modules-center": [], | 
					
						
							| 
									
										
										
										
											2019-07-29 16:31:50 +02:00
										 |  |  |   "modules-right": ["custom/vpn", "network", "battery", "pulseaudio", "cpu", "temperature", "clock", "tray"], | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |   // Module config | 
					
						
							|  |  |  |   "sway/mode": { | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							|  |  |  |     "format": "<span weight=\"bold\">{}</span>" | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2019-07-29 11:53:54 +02:00
										 |  |  |   "temperature": { | 
					
						
							|  |  |  |     "thermal-zone": 1, | 
					
						
							|  |  |  |     // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", | 
					
						
							|  |  |  |     "critical-threshold": 80, | 
					
						
							|  |  |  |     "format-critical": "{temperatureC}°C ", | 
					
						
							| 
									
										
										
										
											2020-08-08 04:02:33 +02:00
										 |  |  |     "format": "{temperatureC}°C " | 
					
						
							| 
									
										
										
										
											2019-07-29 11:53:54 +02:00
										 |  |  |   }, | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |   "custom/vpn": { | 
					
						
							| 
									
										
										
										
											2019-08-01 17:56:53 +02:00
										 |  |  |     // setup wireguard here | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |   }, | 
					
						
							|  |  |  |   "network": { | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							|  |  |  |     // "interface": "wlp2*", // (Optional) To force the use of this interface | 
					
						
							|  |  |  |     "format-wifi": "{essid} ({signalStrength}%) ", | 
					
						
							|  |  |  |     "format-ethernet": "{ifname}: {ipaddr}/{cidr}", | 
					
						
							|  |  |  |     "format-linked": "{ifname} (No IP)", | 
					
						
							|  |  |  |     "format-alt": "{ifname}: {ipaddr}", | 
					
						
							|  |  |  |     "format-disconnected": "No internet" | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   "battery": { | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							|  |  |  |     "states": { | 
					
						
							| 
									
										
										
										
											2019-07-29 16:31:50 +02:00
										 |  |  |         "good": 95, | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |         "warning": 30, | 
					
						
							|  |  |  |         "critical": 15 | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2019-08-05 12:43:28 +02:00
										 |  |  |     "format": "{capacity}% ", | 
					
						
							|  |  |  |     "format-alt": "{time} ", | 
					
						
							|  |  |  |     "format-charging": "{capacity}% ", | 
					
						
							| 
									
										
										
										
											2019-07-29 16:31:50 +02:00
										 |  |  |     "format-plugged": "{capacity}% " | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |     // "format-good": "", // An empty format will hide the module | 
					
						
							| 
									
										
										
										
											2019-07-29 16:31:50 +02:00
										 |  |  |     // "format-full": "" | 
					
						
							|  |  |  |     // "format-icons": ["", "", "", "", "", "", ""] | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |   }, | 
					
						
							|  |  |  |   "pulseaudio": { | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							| 
									
										
										
										
											2020-08-08 04:02:33 +02:00
										 |  |  |     "scroll-step": 1, // %, can be a float | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |     "format": "{volume}% {icon}", | 
					
						
							|  |  |  |     "format-bluetooth": "{volume}% {icon}", | 
					
						
							|  |  |  |     "format-muted": "", | 
					
						
							|  |  |  |     "format-source": "{volume}% {icon}", | 
					
						
							|  |  |  |     "format-source-muted": "", | 
					
						
							|  |  |  |     "format-icons": { | 
					
						
							| 
									
										
										
										
											2020-08-08 04:02:33 +02:00
										 |  |  |         "headphones": "", | 
					
						
							| 
									
										
										
										
											2019-07-29 00:53:40 +02:00
										 |  |  |         "handsfree": "", | 
					
						
							|  |  |  |         "headset": "", | 
					
						
							|  |  |  |         "phone": "", | 
					
						
							|  |  |  |         "portable": "", | 
					
						
							|  |  |  |         "car": "", | 
					
						
							|  |  |  |         "default": ["", "", ""] | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "on-click": "pavucontrol" | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   "cpu": { | 
					
						
							|  |  |  |     "interval": 5, | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							|  |  |  |     "format": "{usage}% " | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   "clock": { | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							|  |  |  |     "format": "{:%d.%m.%Y %H:%M}" | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   "tray": { | 
					
						
							|  |  |  |     "tooltip": false, | 
					
						
							|  |  |  |     // "icon-size": 21, | 
					
						
							|  |  |  |     "spacing": 10 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |