Support monitor resolution function
Useful because I always forget the dimensions of my screens.
This commit is contained in:
		
							parent
							
								
									cb533533c1
								
							
						
					
					
						commit
						9e233b621e
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -207,6 +207,11 @@ router() {
 | 
				
			||||||
  netstat -nr | grep default | head -n 1 | awk '{ print $2 }'
 | 
					  netstat -nr | grep default | head -n 1 | awk '{ print $2 }'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					monitor_dimensions() {
 | 
				
			||||||
 | 
					  # Outputs the dimensions of your computer monitor
 | 
				
			||||||
 | 
					  xdpyinfo | awk '/dimensions/{ print $2 }'
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
lt() {
 | 
					lt() {
 | 
				
			||||||
  # Convenience wrapper around `exa --tree`.
 | 
					  # Convenience wrapper around `exa --tree`.
 | 
				
			||||||
  # Optionally accepts a number for the max-depth and a directory to list.
 | 
					  # Optionally accepts a number for the max-depth and a directory to list.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue