summaryrefslogtreecommitdiff
path: root/swaylock.1.scd
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2026-01-17 12:11:45 -0500
committerSimon Ser <contact@emersion.fr>2026-02-14 11:20:02 +0100
commit37f17319b4bec58cbbc4db15f6e92161f54650e7 (patch)
treee4f12933d77d84514cf1935f7cbfcfcf69648b13 /swaylock.1.scd
parent1c12f14e4391181f2731ca50317d64cfc7480e6e (diff)
Add short example of config file to man page
Diffstat (limited to 'swaylock.1.scd')
-rw-r--r--swaylock.1.scd9
1 files changed, 8 insertions, 1 deletions
diff --git a/swaylock.1.scd b/swaylock.1.scd
index 418ab55..ec359c4 100644
--- a/swaylock.1.scd
+++ b/swaylock.1.scd
@@ -19,7 +19,14 @@ Locks your Wayland session.
options in the configuration file using the format _long-option=value_.
For options such as _ignore-empty-password_, just supply the _long-option_.
All leading dashes should be omitted and the equals sign is required for
- flags that take an argument.
+ flags that take an argument. For example:
+
+ ```
+ image=/usr/share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024.png
+ scaling=center
+ show-failed-attempts
+ ring-color=#ff00ff
+ ```
*-d, --debug*
Enable debugging output.