logo

dotfiles

My dotfiles, one branch per machine
commit: a8e52724846f8d6a5f47fad43fc4031818cd6ed5
parent: 56413b60f27819016f772d85015483b1334c77f5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 28 Jun 2019 11:00:53 +0200

.config/redshift/hooks/notify-send.sh: New

Diffstat:

A.config/redshift/hooks/notify-send.sh11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/.config/redshift/hooks/notify-send.sh b/.config/redshift/hooks/notify-send.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +export DISPLAY=:0 + +case "$1" in + "period-changed") + exec notify-send "Redshift" "Period changed to $3" + ;; + *) + exec notify-send "Redshift" "Hook args: $1; $2; $3" +esac