mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	Add better laptop support
This commit is contained in:
		
							parent
							
								
									1e137b842f
								
							
						
					
					
						commit
						51292e49bb
					
				
					 14 changed files with 30 additions and 25 deletions
				
			
		
							
								
								
									
										4
									
								
								scripts/battery_level
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								scripts/battery_level
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| #!/bin/sh | ||||
| full=$(cat /sys/class/power_supply/BAT0/charge_now)  | ||||
| now=$(cat /sys/class/power_supply/BAT0/charge_full) | ||||
| echo $full / $now  \* 100 | bc -l | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue