Skip to Content
Veila
Themes

Samurai

Right-aligned clock and minimal password input. Dark and atmospheric

Samurai theme preview

Background Image

Download the wallpaper from Imgur.

Use This Theme

Set the theme in ~/.config/veila/config.toml:

theme = "samurai"

Or from the CLI:

veila theme set samurai

Minimal Overrides

Override individual settings in the same file:

theme = "samurai" # Use the bundled Samurai theme

[visuals.outputs]
ui_mode = "single" # Use "all" for the UI on every monitor

[background]
mode = "file" # Wallpaper background
path = "/path/to/wallpaper.jpg" # Wallpaper path

[weather]
enabled = true # Fetch weather
location = "Tokyo" # Weather location
unit = "celsius" # "celsius" or "fahrenheit"

[visuals.now_playing]
enabled = true # Show media when available

[visuals.clock]
format = "24h" # "24h" or "12h"

Unset keys keep the preset defaults. The UI appears on one monitor; all monitors stay locked. Use ui_mode = "all" for the UI everywhere. See Monitor Output.

Fonts

Samurai uses Japanola for the clock and date. Install it separately or use a bundled font.

[visuals.clock]
font_family = "Japanola"
font_weight = 700
font_style = "normal"

See font setup for installation and family-name checks.

Preset Reference

Copy this preset to ~/.config/veila/themes/ to create a custom theme.

View full preset
[background]
mode = "file"
path = "/path/to/wallpaper.jpg"
color = "#fafafa"
dim_strength = 20

[battery]
enabled = true

[weather]
enabled = false

[visuals.clock]
format = "12h"
style = "standard"
meridiem_font_size = 22
meridiem_x = 6
meridiem_y = 7
font_family = "Japanola"
font_weight = 700
color = "rgba(0, 0, 0, 0.7)"
font_size = 136
halign = "center"
valign = "top"
x = 0
y = 0
relative_to = "auth_panel"

[visuals.date]
format = "long"
font_family = "Japanola"
font_weight = 700
color = "rgba(0, 0, 0, 0.7)"
font_size = 34
halign = "center"
valign = "center"
x = 0
y = 20
relative_to = "auth_panel"

[visuals.input]
placeholder = "Password"
background_color = "rgba(0, 0, 0, 0)"
border_color = "rgba(0, 0, 0, 0.7)"
border_width = 3
width = 310
height = 54
radius = 50
mask_color = "#000000"
font_family = "Google Sans Flex"
font_weight = 400
font_size = 16
halign = "center"
valign = "bottom"
x = 0
y = 0
relative_to = "auth_panel"

[visuals.status]
mode = "inline"
rejected_color = "#FF4D4D"
pending_color = "#000000"

[visuals.eye]
color = "rgba(0, 0, 0, 0.8)"

[visuals.caps_lock]
color = "rgba(0, 0, 0, 0.6)"

[visuals.placeholder]
color = "rgba(0, 0, 0, 0.6)"

[visuals.avatar]
enabled = false

[visuals.username]
enabled = false

[visuals.keyboard]
background_size = 46
radius = 23
background_color = "rgba(0, 0, 0, 0.7)"
color = "rgba(255, 255, 255, 0.9)"
size = 16
halign = "right"
valign = "top"
x = -24
y = 21

[visuals.battery]
background_color = "rgba(0, 0, 0, 0.7)"
background_size = 46
radius = 23
color = "rgba(255, 255, 255, 0.9)"
size = 20
halign = "right"
valign = "top"
x = -78
y = 21

[visuals.weather.icon]
size = 40
opacity = 100
halign = "left"
valign = "bottom"
x = 40
y = -112

[visuals.weather.temperature]
font_size = 40
font_family = "Geom"
font_weight = 600
letter_spacing = 0
color = "rgba(0, 0, 0, 0.73)"
halign = "left"
valign = "bottom"
x = 40
y = -70

[visuals.weather.location]
font_size = 22
font_family = "Google Sans Flex"
font_weight = 400
color = "rgba(0, 0, 0, 0.58)"
halign = "left"
valign = "bottom"
x = 40
y = -44

[visuals.now_playing]
enabled = true
fade_duration_ms = 320

[visuals.now_playing.artwork]
size = 44
radius = 8
opacity = 90
halign = "left"
valign = "center"
x = 10
y = 0
relative_to = "now_playing"

[visuals.now_playing.artist]
width = 318
color = "rgba(0, 0, 0, 0.59)"
font_family = "Google Sans Flex"
font_size = 16
font_weight = 400
halign = "left"
valign = "top"
x = 65
y = 10
relative_to = "now_playing"

[visuals.now_playing.title]
width = 318
color = "rgba(0, 0, 0, 0.69)"
font_family = "Google Sans Flex"
font_size = 16
font_weight = 400
halign = "left"
valign = "bottom"
x = 65
y = -10
relative_to = "now_playing"

# Now playing backdrop
[[visuals.backdrop]]
enabled = true
name = "now_playing"
show_when = "now_playing"
mode = "blur"
color = "rgba(0, 0, 0, 0.05)"
blur_strength = 12
radius = 10
border_color = "#FFFFFF18"
width = 400
height = 60
halign = "right"
valign = "bottom"
x = -40
y = -40
z = 1

# Auth stack Background
[[visuals.backdrop]]
enabled = true
name = "auth_panel"
mode = "solid"
color = "#00000000"
blur_strength = 24
radius = 50
width = 540
height = 300
halign = "right"
valign = "center"
x = -200
y = 0
z = 0

On this page