2016-09-05 23:25:26 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2015-11-01 02:30:09 +01:00
|
|
|
# redshift settings
|
|
|
|
|
redshift_lat_long="49.5:11"
|
2016-02-15 18:48:26 +01:00
|
|
|
redshift_colortemp="6000:3300"
|
2015-11-01 02:30:09 +01:00
|
|
|
|
2018-08-16 07:25:01 +02:00
|
|
|
printf '%s' "starting redshift-gtk"
|
2018-08-21 07:36:43 +02:00
|
|
|
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp"
|
2016-04-02 15:52:20 +02:00
|
|
|
printf '%s' $! > "$RUNDIR"/redshift.${XDG_SESSION_ID}.pid
|