mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Update nightlight
use `ifinstalled` to check for `xsct`
This commit is contained in:
parent
4dbcc84076
commit
c330624dec
@ -3,6 +3,7 @@
|
|||||||
# toggle for a "nightlight" color temperature
|
# toggle for a "nightlight" color temperature
|
||||||
# requires xsct
|
# requires xsct
|
||||||
|
|
||||||
|
ifinstalled "xsct" || exit
|
||||||
colortemp="$(xsct | cut -d' ' -f5)"
|
colortemp="$(xsct | cut -d' ' -f5)"
|
||||||
|
|
||||||
if [ "$colortemp" -ge "6500" ]; then
|
if [ "$colortemp" -ge "6500" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user