mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-10-29 11:31:16 +01:00 
			
		
		
		
	statusbar: changed cpu temp script to work with amd and intel
This commit is contained in:
		| @@ -1,3 +1,7 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| sensors | awk '/Core 0/ {print " " $3}' | ||||
| if [ "$1" = "amd" ]; then | ||||
|     sensors | awk '/Tctl/ {print " " $2}' | ||||
| elif [ "$1" = "intel" ]; then | ||||
|     sensors | awk '/Core 0/ {print " " $3}' | ||||
| fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user