> For the complete documentation index, see [llms.txt](https://sasa-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sasa-scripts.gitbook.io/docs/notification.md).

# NOTIFICATION

**If you want detailed documentation, view to your README.md file in script package**

## **Config Preview:**

```lua
--[[
    SASA NOTIFY - Configuration File
    
    IMPORTANT: Do not modify the structure of this file!
    Only modify values within the Config.DefaultSettings table.
    
    WARNING: Modifying Config.DefaultValues or Config.ValidOptions may break the script!
]]

Config = {}

-- [[ INTERNAL VALIDATION - DO NOT MODIFY ]] --
Config.DefaultValues = {
    position = 'top-right',
    animation = 'slide',
    style = 'info',
    theme = 'dark',
    notificationStyle = 'modern',
    progressStyle = 'bar' -- default progress style
}

Config.ValidOptions = {
    positions = {'top-right', 'top-left', 'bottom-right', 'bottom-left'},
    animations = {'fade', 'slide', 'bounce', 'nothing'},
    styles = {'success', 'error', 'info', 'warning'},
    themes = {'dark', 'light'},
    notificationStyles = {'modern', 'oldschool'},
    progressStyles = {'bar', 'circle'}
}

-- [[ USER CONFIGURATION - SAFE TO MODIFY ]] --
Config.DefaultSettings = {
    -- NOTIFICATION POSITIONING
    -- Where notifications appear on screen: 'top-right', 'top-left', 'bottom-right', 'bottom-left'
    position = 'top-right',
    
    -- TIMING
    -- How long notifications stay visible (in milliseconds)
    duration = 3000,
    
    -- VISUAL EFFECTS
    -- Animation type: 'fade', 'slide', 'bounce', 'nothing'
    animation = 'slide',
    
    -- FEATURES
    -- Enable/disable the progress bar
    progressBar = true,
    
    -- PROGRESS BAR SETTINGS
    -- Style of progress indicator: 'bar' or 'circle'
    progressStyle = 'bar',
    
    -- Progress bar variants
    progressVariants = {
        bar = {
            height = '3px',
            background = 'rgba(0,0,0,0.1)'
        },
        circle = {
            size = '22px',
            thickness = '2px',
            background = 'rgba(0,0,0,0.1)'
        }
    },
    
    -- QUEUE SETTINGS
    -- Maximum notifications shown at once (prevents spam)
    maxNotifications = 5,
    -- Delay between notifications in queue (milliseconds)
    queueDelay = 250,
    
    -- THEME SETTINGS
    -- Default theme: 'dark' or 'light'
    theme = 'dark',
    
    -- NOTIFICATION STYLE
    -- Default notification style: 'modern' or 'oldschool'
    notificationStyle = 'modern',

    -- STYLE VARIANTS
    -- Different looks for notifications
    variants = {
        modern = {
            borderRadius = '6px',
            shadow = '0 2px 5px rgba(0,0,0,0.08)',
            border = 'none',
            blur = false,
            background = {
                dark = 'rgba(44, 44, 44, 0.95)',
                light = 'rgba(245, 245, 245, 0.95)'
            }
        },
        oldschool = {
            borderRadius = '0',
            shadow = '0 1px 2px rgba(0,0,0,0.2)',
            border = '1px solid rgba(0,0,0,0.2)',
            blur = false,
            background = {
                dark = 'rgba(28, 28, 28, 0.95)',
                light = 'rgba(240, 240, 240, 0.95)'
            }
        }
    },

    -- THEME COLORS
    -- Colors for text based on theme
    themes = {
        dark = {
            text = '#ffffff',
            secondaryText = '#a1a1aa'
        },
        light = {
            text = '#18181b',
            secondaryText = '#52525b'
        }
    },

    -- NOTIFICATION STYLES
    -- Icons and colors for different notification types
    styles = {
        success = {
            icon = 'fas fa-check-circle',
            iconColor = '#22c55e'
        },
        error = {
            icon = 'fas fa-times-circle',
            iconColor = '#ef4444'
        },
        info = {
            icon = 'fas fa-info-circle',
            iconColor = '#3b82f6'
        },
        warning = {
            icon = 'fas fa-exclamation-circle',
            iconColor = '#f59e0b'
        }
    }
}

-- [[ TEST COMMAND CONFIGURATION ]] --
Config.TestCommand = {
    enabled = true,
    command = 'testnotify', -- Command to trigger test notification
    style = 'info' -- Default style for test command
}

```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sasa-scripts.gitbook.io/docs/notification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
