mirror of
				https://github.com/taigrr/wtf
				synced 2025-01-18 04:03:14 -08:00 
			
		
		
		
	Prefer to have widgets force a draw when their data changes. This should reduce draws (unless the user has a module installed that updates >= 1/sec, the old draw default). This should also remove a source of some of the race conditions that users were experiencing (though not all, there are still many).
		
			
				
	
	
		
			33 lines
		
	
	
		
			635 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			635 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| wtf:
 | |
|   grid:
 | |
|     columns: [40, 40]
 | |
|     rows: [16]
 | |
|   refreshInterval: 1
 | |
|   mods:
 | |
|     clocks:
 | |
|       enabled: true
 | |
|       locations:
 | |
|         Toronto: "America/Toronto"
 | |
|         UTC: "Etc/UTC"
 | |
|         Vancouver: "America/Vancouver"
 | |
|       position:
 | |
|         top: 0
 | |
|         left: 0
 | |
|         height: 1
 | |
|         width: 1
 | |
|       refreshInterval: 15
 | |
|       sort: "chronological"
 | |
|     textfile:
 | |
|       enabled: true
 | |
|       filePaths:
 | |
|         - "~/.config/wtf/config.yml"
 | |
|         - "~/.config/wtf/log.txt"
 | |
|       format: true
 | |
|       formatStyle: "vim"
 | |
|       position:
 | |
|         top: 0
 | |
|         left: 1
 | |
|         height: 1
 | |
|         width: 1
 | |
|       refreshInterval: 15
 |