made status script example of .xinitrc more useful
This commit is contained in:
		
							
								
								
									
										4
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								README
									
									
									
									
									
								
							@@ -38,12 +38,12 @@ the DISPLAY environment variable is set correctly, e.g.:
 | 
			
		||||
In order to display status info in the bar, you can do something
 | 
			
		||||
like this in your .xinitrc:
 | 
			
		||||
 | 
			
		||||
    dwm &
 | 
			
		||||
    while true
 | 
			
		||||
    do
 | 
			
		||||
        xsetroot -name "`date` `uptime | sed 's/.*,//'`"
 | 
			
		||||
        sleep 1
 | 
			
		||||
    done
 | 
			
		||||
    done &
 | 
			
		||||
    exec dwm
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Configuration
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user