Skip to content

Config reference ​

Every config file lives at ~/.config/lys-shell/config.yaml. Each page below covers one section. Every field has a default; start with an empty file and add only what you want to change.

TIP

Editor intellisense via JSON Schema. Install the YAML extension for VSCode or yaml-language-server for Neovim, Helix, or Zed. The schema is written to ~/.config/lys-shell/schema.json on startup, and the config file lys-shell creates starts with the # yaml-language-server: $schema=./schema.json modeline that points the server at it.

Top-level sections ​

SectionWhat it controls
animationsEnter/exit and change animations for transient surfaces.
barBar chrome: per-monitor layout, spacing, colors, and button styling.
clipboardClipboard history settings.
colorpickerColor picker settings.
dockA dock of pinned apps and open windows, on its own surface beside the bar.
drivesRemovable drives.
dropdownsPer-dropdown foldout panel sizing.
generalShell-wide settings that don't belong to any specific module.
idleBuilt-in idle policy: keyboard backlight off, dim, lock, screens off, suspend, lock before sleep.
launcherApplication launcher / dmenu (rofi replacement).
loginLogin screen: the greeter and the lock screen, one screen in two modes.
mail-accountOne mail account in the modules.mail per-account breakdown.
osdOn-screen display overlay for transient events like volume and brightness.
passwordsThe Passwords page over the keyring.
portalDesktop-portal policy for sandboxed apps.
share-pickerScreen-share picker shown by xdg-desktop-portal when an app requests a window, output, or region to capture.
stylingTheme, palette, and rounding tokens applied shell-wide. Changes recompile the stylesheet.
thresholdsWarning levels of CPU, RAM, disk and battery, shared by their bar modules and the dashboard.
toast-presetA reusable toast preset, triggerable by id with lys-shell toast --preset <id>.
wallpaperWallpaper rendering, cycling, and per-monitor overrides.

Bar modules ​

Modules appear inside the bar.layout list. Each row links to the full reference.

ModulePurpose
audioSpeaker volume and mute, the microphone's state, and a capture indicator.
background-appsBackground apps indicator.
batteryBattery level, charging state, and a dropdown with the batteries of peripherals UPower reports (wireless mice, keyboards, controllers, pens) and power-profile controls. Low and critical battery levels send critical notifications whether or not the module is placed.
bitwardenBitwarden vault: the bar shows whether it is locked; the dropdown logs in, unlocks, searches the vault and copies an item's username, password or one-time code.
bluetoothBluetooth connection status with a dropdown for pairing and managing devices.
brightnessBacklight control bar module.
cavaAudio frequency bars visualizing the output stream.
clockClock module configuration.
cpuCPU usage, frequency, and temperature.
customUser-defined module that runs a shell command and renders the output in the bar.
dashboardQuick-access button with a distro icon; opens the dashboard dropdown.
dropdown-dashboard-user-sessionSettings for user session the in dashboard
idle-inhibitToggle that prevents screen dim, lock, and suspend while active.
keybind-modeCurrent keybind-mode indicator for modal compositors.
keyboard-inputActive keyboard layout indicator.
mailUnread mail count, backed by a notmuch query.
mediaNow-playing title and playback controls for the active MPRIS player.
minimized-windowsMinimized windows, like a dock.
netstatNetwork traffic counters (up/down rates).
networkNetwork connection status with a dropdown for switching connections.
nightlightNight light: warms the display colors, by hand or on a schedule.
notificationsNotification center: icon in the bar, dropdown with history, DND toggle.
powerShutdown, reboot, and logout menu.
power-profilesPower profile indicator and switcher (lys-power).
ramMemory and swap usage.
recorderNative screen recorder encoding on the GPU's video encoder.
screenshotScreenshot capture button.
separatorA vertical rule between bar modules.
storageDisk usage for a mount point.
systraySystem tray icons via the StatusNotifierItem protocol.
treemantreeman worktree health across all registered repos, in a dropdown.
weatherCurrent conditions with hourly and daily forecasts in a dropdown.
window-titleActive window title with optional app-icon prefix.
workspacesWorkspace indicators with click-to-switch, on whichever compositor runs.
world-clockMultiple timezones shown together in a dropdown.

Shared types ​

Every named type referenced across the config (Color, ClickAction, Size, and others) is documented on the types page.

Released under the MIT License.