mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-21 10:02:53 +00:00
13 lines
214 B
Bash
Executable file
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
|