blob: 69f3f9e4883e976b091b6da3ddea14c5857e393d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# Prints out the screen color temperature
# Requires the redshift package
PREFIX=''
get_redshift()
{
echo "$PREFIX$(redshift -p 2> /dev/null | grep "temp" | awk '{print $3}')"
}
get_redshift
|