changed the status info README hint (more simple now, no extra script necessary)
This commit is contained in:
		
							
								
								
									
										8
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								README
									
									
									
									
									
								
							@@ -38,17 +38,11 @@ Displaying status info
 | 
				
			|||||||
In order to display status info in the bar, you can do following
 | 
					In order to display status info in the bar, you can do following
 | 
				
			||||||
in .xinitrc:
 | 
					in .xinitrc:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $HOME/.dwm/status | dwm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Assumed $HOME/.dwm/status is an executable script like:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    #!/bin/sh
 | 
					 | 
				
			||||||
    while true
 | 
					    while true
 | 
				
			||||||
    do
 | 
					    do
 | 
				
			||||||
        echo `date` `uptime | sed 's/.*://; s/,//g'`
 | 
					        echo `date` `uptime | sed 's/.*://; s/,//g'`
 | 
				
			||||||
        sleep 5
 | 
					        sleep 5
 | 
				
			||||||
    done
 | 
					    done | dwm
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Configuration
 | 
					Configuration
 | 
				
			||||||
-------------
 | 
					-------------
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user