Skip to content

Switch Background

Function Description

Switches the background image with optional transition effect.

Syntax Structure

text
background [background_name] [transition_effect]

Parameter Description

ParameterRequiredExampleDescription
background_nameYessunsetBackground image name
transition_effectNofadeOptional transition effect (e.g., fade, blinds)

Examples

text
# Switch background with fade effect
background sunset fade

# Switch background instantly
background night

Released under BSD3-Clause License.