mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01:00
parent
21ca88f3a9
commit
d1d0ee37c3
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ function presentNews() {
|
||||||
echo $'\n'"$msg"$'\n' >&2
|
echo $'\n'"$msg"$'\n' >&2
|
||||||
|
|
||||||
if [[ -v DISPLAY ]] && type -P notify-send > /dev/null; then
|
if [[ -v DISPLAY ]] && type -P notify-send > /dev/null; then
|
||||||
notify-send "Home Manager" "$msg"
|
notify-send "Home Manager" "$msg" > /dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
elif [[ "$newsDisplay" == "show" ]]; then
|
elif [[ "$newsDisplay" == "show" ]]; then
|
||||||
doShowNews --unread
|
doShowNews --unread
|
||||||
|
|
Loading…
Reference in a new issue