Build your first style
Build tutorial-moss, a local style with a green palette and a bordered Workspace Bar. It inherits the default widgets.
1. Create the style
Section titled “1. Create the style”Inside shell/ in your OmniWM config folder, create this layout. The default location is ~/.config/omniwm/shell/tutorial-moss/. If that folder already exists, pick an unused name and use it when selecting the style.
tutorial-moss/├── shell.luau└── themes/ └── tutorial-moss.luauDownload the profile settings to tutorial-moss/shell.luau.
Download tutorial-moss/shell.luau
return { theme = "tutorial-moss", workspaceBar = { height = 36, barFill = "surface", barBorder = "border", },}Download the palette to tutorial-moss/themes/tutorial-moss.luau.
Download tutorial-moss/themes/tutorial-moss.luau
return { light = { background = "#EAF0E6", surface = "#F5F8F2", foreground = "#192A1D", border = "#89A38C", accent = "#29643D", accentForeground = "#FFFFFF", }, dark = { background = "#122419", surface = "#253D2C", foreground = "#EBF7EC", border = "#67846E", accent = "#9CD3A7", accentForeground = "#122419", },}The profile selects the theme by filename without .luau. Use light and dark to set palette roles for each appearance. Base roles you leave out keep OmniShell’s native colors.
2. Apply and try the style
Section titled “2. Apply and try the style”In Settings > Styles & Widgets, select tutorial-moss and choose Use Style. Enable the Workspace Bar to see the result. With omniwmctl installed and Settings > Advanced > Enable IPC on, you can also run omniwmctl shell profile tutorial-moss.
The bar is 36 points thick. Its fill uses the palette’s surface color, and border draws a one-point edge. Change height = 36 to height = 40 in the profile’s shell.luau and save to see the bar get thicker.
Choices saved in Settings under profiles.<name> in shell/shell.luau override the style’s defaults. A display-specific choice takes precedence on that display.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Check |
|---|---|
| The style is missing | Check that its folder sits directly under shell/ and contains shell.luau. |
| The bar is missing | Enable the Workspace Bar in Styles & Widgets. |
| The colors or thickness differ | Apply the style with Use Style and check for saved palette, bar or display overrides. With IPC on, omniwmctl query shell-widgets also reports profile and theme errors. |
To publish your style in Get Styles, follow the style packaging guide and use Lake’s manifest as an example.