dwmbar/modules/redshift
2019-10-21 21:01:29 +01:00

13 lines
214 B
Bash
Executable file

#!/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