efNotifyConfig :: NotifyConfig
defNotifyConfig = NotifyConfig
    { icon = \status ->
        Just if status == ExitSuccess
                then "dialog-information"
                else "dialog-error"

    , urgency = \status ->
        Just if status == ExitSuccess
                then Low
                else Normal

    , composeMessage = \msg status -> mconcat
        [ msg
        , " "
        , if status == ExitSuccess
            then "finished."
            else "failed."
        ]

    , sound = \status ->
        Just if status == ExitSuccess
                then "/usr/share/sounds/freedesktop/stereo/dialog-information.oga"
                else "/usr/share/sounds/freedesktop/stereo/dialog-error.oga"
    }

defNotifyConfig :: NotifyConfig
defNotifyConfig = NotifyConfig
    { icon = \status ->
        Just if status == ExitSuccess
                then "dialog-information"
                else "dialog-error"

    , urgency = \status ->
        Just if status == ExitSuccess
                then Low
                else Normal

    , composeMessage = \msg status -> mconcat
        [ msg
        , " "
        , if status == ExitSuccess
            then "finished."
            else "failed."
        ]

    , sound = \status ->
        Just if status == ExitSuccess
                then "/usr/share/sounds/freedesktop/stereo/dialog-information.oga"
                else "/usr/share/sounds/freedesktop/stereo/dialog-error.oga"
    }
defNotifyConfig = NotifyConfig
    { icon = \status ->
        Just if status == ExitSuccess
                then "dialog-information"
                else "dialog-error"

    , urgency = \status ->
        Just if status == ExitSuccess
                then Low
                else Normal

    , composeMessage = \msg status -> mconcat
        [ msg
        , " "
        , if status == ExitSuccess
            then "finished."
            else "failed."
        ]

    , sound = \status ->
        Just if status == ExitSuccess
                then "/usr/share/sounds/freedesktop/stereo/dialog-information.oga"
                else "/usr/share/sounds/freedesktop/stereo/dialog-error.oga"
    }