RAGS - v1.10.0
    Preparing search index...

    Interface Config

    Configuration object for the AGS application.

    Can be passed to App.config or exported as the default export of the user's config file.

    interface Config {
        cacheCoverArt?: boolean;
        cacheNotificationActions?: boolean;
        closeWindowDelay?: { [key: string]: number };
        cursorTheme?: string;
        gtkTheme?: string;
        icons?: string;
        iconTheme?: string;
        lazyWindows?: Record<string, () => Window>;
        maxStreamVolume?: number;
        notificationForceTimeout?: boolean;
        notificationPopupTimeout?: number;
        onConfigParsed?: (app: App) => void;
        onWindowToggled?: (windowName: string, visible: boolean) => void;
        style?: string;
        themes?: Record<string, string>;
        windows?: Window[] | (() => Window[]);
    }
    Index

    Properties

    cacheCoverArt?: boolean

    Use Mpris.cacheCoverArt instead.

    cacheNotificationActions?: boolean

    Use Notifications.cacheActions instead.

    closeWindowDelay?: { [key: string]: number }

    Map of window names to close delay in milliseconds.

    cursorTheme?: string

    Cursor theme name override.

    gtkTheme?: string

    GTK theme name override.

    icons?: string

    Path to a directory of custom icons.

    iconTheme?: string

    Icon theme name override.

    lazyWindows?: Record<string, () => Window>

    Map of window names to factory functions for lazy construction.

    maxStreamVolume?: number

    Use Audio.maxStreamVolume instead.

    notificationForceTimeout?: boolean

    Use Notifications.forceTimeout instead.

    notificationPopupTimeout?: number

    Use Notifications.popupTimeout instead.

    onConfigParsed?: (app: App) => void

    Callback invoked after the config file has been parsed.

    onWindowToggled?: (windowName: string, visible: boolean) => void

    Callback invoked whenever a window is toggled.

    style?: string

    Path to a CSS file or inline CSS string for styling.

    themes?: Record<string, string>

    Map of theme names to CSS file paths or inline CSS strings.

    windows?: Window[] | (() => Window[])

    Windows to display on startup. Can be an array or a factory function.