dwmbar/modules/redshift

14 lines
214 B
Text
Raw Permalink Normal View History

2019-10-21 20:01:29 +00:00
#!/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