From 8e5d3c79073496fe439b49b822afe734247112dc Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 30 Jul 2024 22:36:47 +0200 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c47c794..ce80a89 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ $ make To start, you need to create a configuration file in YAML format. This file consists of two keys: `default` to define the path of the default wallpaper, and `workspaces` which allows you to associate each workspace with its corresponding wallpaper. -``` +```yaml default: /home/alice/wallpapers/default.jpg workspaces: "Name of the workspace 1": /home/alice/wallpapers/1.jpg @@ -35,12 +35,12 @@ workspaces: Next, you simply need to run `i3-wallpaper-manager` while specify the path to the configuration file. -``` +```bash DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml ``` To run it when i3 starts, add this to your i3 configuration: -``` +```bash exec_always DISPLAY=:0 i3-wallpaper-manager /path/to/config.yaml ```