Skip to content

Configuration

The main config file is ~/.config/glimpse/config.toml. It controls the panel, applets, wallpaper, lock screen, location, night light, and idle behavior.

Start With A Panel

This is a compact panel:

toml
[[panels]]
monitor = "eDP-1"
position = "top"
size = 36
left = ["pager", "..."]
center = ["clock"]
right = ["network", "battery", "weather", "session"]

The special name "..." means "keep the default applets for this section here." It lets you add your own items without copying the whole default layout.

Panel Options

OptionWhat it does
monitorOutput name. Leave it out if one panel should appear on the default output.
positiontop, bottom, left, or right.
sizePanel thickness in pixels.
theme_modePer-panel mode: auto, dark, or light.
leftApplets on the left side.
centerApplets in the center.
rightApplets on the right side.

Built-In Applets

AppletUse it for
audioVolume status and controls.
batteryBattery percentage and charging status.
bluetoothBluetooth status and devices.
brightnessScreen brightness.
clipboardClipboard history.
clockTime and calendar.
keyboardCurrent keyboard layout.
mprisMedia player status.
networkWi-Fi and wired network status.
notificationsNotification center.
pagerWorkspaces and windows.
privacyCamera, microphone, and screen sharing indicators.
removableUSB and removable drives.
sessionLock, logout, suspend, restart, and shutdown actions.
trayStatus notifier icons.
weatherCurrent weather.
commandA button or menu that runs commands.
execA live custom applet powered by your own script.

Configure An Applet

Configure an applet

Applet settings for a built-in applet live under [applets.name].

toml
[applets.weather]
city_name = "Warsaw, PL"

Place the applet name in a panel section:

toml
right = ["weather", "network", "battery"]

Add another instance

Built-in applet settings live under [applets.<name>]. Custom exec and command applets are loaded from applet package files in $XDG_CONFIG_HOME/glimpse/applets.

toml
# ~/.config/glimpse/applets/terminal.toml
id = "terminal"
type = "command"

[command]
icon = "utilities-terminal-symbolic"
tooltip = "Open terminal"
command = ["ghostty"]

Then place the package id in a panel section:

toml
right = ["weather", "terminal", "network", "battery"]

Location

Location is used by weather and automatic night light.

For automatic location:

toml
[location]
provider = "geoclue"

For a fixed place:

toml
[location]
provider = "static"
latitude = 52.2297
longitude = 21.0122

Static location is useful on desktops, privacy-focused setups, or systems without a location provider.

Keep Config Tidy

Use one section per topic:

toml
theme = "adwaita"
theme_mode = "auto"

[[panels]]
position = "top"
size = 36
left = ["pager"]
center = ["clock"]
right = ["network", "battery", "session"]

[location]
provider = "static"
latitude = 52.2297
longitude = 21.0122

[applets.clock]
label_format = "%H:%M"

[wallpaper]
path = "/home/alex/Pictures/wallpapers/coast.jpg"
fit = "cover"

[lock]
css_path = "themes/lock.css"

theme and theme_mode are independent: theme selects the CSS file, and theme_mode selects automatic, dark, or light mode classes.

Read Applets for per-applet options, Wallpaper for background settings, and Lock for lock screen settings.