summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-03-31 20:19:59 -0400
committerAndrew Opalach <andrew@akon.city> 2025-03-31 20:19:59 -0400
commit6996224e019fbfbe94b96bb9e9b3db8bc452ab08 (patch)
tree402ee6adf78eb75d3ff783ce4fce10bfbdc3fd35
parent04e2c64a5efdc55832e3a57fa2abfff319279f5c (diff)
downloadmauri-6996224e019fbfbe94b96bb9e9b3db8bc452ab08.tar.gz
mauri-6996224e019fbfbe94b96bb9e9b3db8bc452ab08.tar.bz2
mauri-6996224e019fbfbe94b96bb9e9b3db8bc452ab08.zip
Tweak readme and fix binary path in daemon
Signed-off-by: Andrew Opalach <andrew@akon.city>
-rw-r--r--README.txt30
-rw-r--r--taro/daemon.c4
2 files changed, 17 insertions, 17 deletions
diff --git a/README.txt b/README.txt
index 9824bca..4993ad0 100644
--- a/README.txt
+++ b/README.txt
@@ -1,9 +1,9 @@
:source-highlighter: pygments
-== mauri: Wallpaper Engine Implementation (for Linux)
+= mauri: Wallpaper Engine Implementation (for Linux)
-=== Building
-==== Dependencies
+== Building
+=== Dependencies
* C++17 and C99 compiler
* meson
* lz4
@@ -16,21 +16,21 @@
debian12: sudo apt install gcc g++ meson ninja-build
-==== Compiling
+=== Compiling
[source,sh]
----
$ meson setup build -Dwindow=(x11|wayland) -Daudio=(enabled|disabled) -Dtaro=(enabled|disabled)
$ ninja -C build
----
-=== Installing
-==== Local
+== Installing
+=== Local
[source,sh]
----
$ sudo ninja -C build install
----
-==== Nix Flake
+=== Nix Flake
[source,nix]
----
inputs = {
@@ -52,7 +52,7 @@ nixosSystem {
};
----
-=== Usage
+== Usage
[source,sh]
----
$ mauri --help
@@ -68,7 +68,7 @@ Usage: mauri (-p, --package [path_to_scene.pkg]|-d, --directory [path_to_wallpap
-m, --monitor set as the background of this monitor (by name)
-t, --target dump the scene tree into this directory and exit
----
-==== Examples
+=== Examples
[source,sh]
----
# Set as the background of DP-1.
@@ -80,7 +80,7 @@ $ ./mauri -p /mnt/hdd/SteamLibrary/steamapps/workshop/content/431960/2108234011/
-a /mnt/hdd/SteamLibrary/steamapps/common/wallpaper_engine/assets -t ./output
----
-==== taro
+=== taro
[source,sh]
----
# You must run tarod once before anything to generate the necessary files for your setup.
@@ -90,14 +90,14 @@ $ tarod
$ taro
----
-===== Keybinds
+==== Keybinds
*←↓↑→/hjkl* - Move Selection, Edit Value +
*Enter/Space* - Confirm Selection +
*Tab* - Cycle Between Grid, Info/Options, and Monitor Selection +
*f/b* - Next/Previous Page +
*r* - Remove Current Wallpaper +
-===== Config
+==== Config
[source,sh]
----
$ cat $HOME/.config/taro/config.json
@@ -114,7 +114,7 @@ $ cat $HOME/.config/taro/config.json
}
----
-===== Sway Config Example
+==== Sway Config Example
[source,sh]
----
# Set wallpaper
@@ -125,12 +125,12 @@ bindsym Mod4+F2 exec printf '||' > $HOME/.config/taro/DP-1/selection
exec tarod
----
-=== Known Issues
+== Known Issues
- Some gifs are incorrectly positioned.
- Some objects are incorrectly scaled and/or positioned.
- Some shaders fail to compile for various reasons.
-==== Not Implemented
+=== Not Implemented
- Particles
- Mouse Paralax
- Camera Shake
diff --git a/taro/daemon.c b/taro/daemon.c
index 4a70ceb..92e6388 100644
--- a/taro/daemon.c
+++ b/taro/daemon.c
@@ -212,10 +212,10 @@ static bool run_wallpaper(struct daemon *dmon, struct monitor *monitor)
char *c_str1 = al_str_to_c_str(&dmon->conf.asset_dir);
if (is_package) {
monitor->pid = exec_or_exit((char *[]){
- "./mauri", "-p", c_str0, "-a", c_str1, "-m", monitor->os->name, "-w", width, "-h", height, NULL});
+ "mauri", "-p", c_str0, "-a", c_str1, "-m", monitor->os->name, "-w", width, "-h", height, NULL});
} else {
monitor->pid = exec_or_exit((char *[]){
- "./mauri", "-d", c_str0, "-a", c_str1, "-m", monitor->os->name, "-w", width, "-h", height, NULL});
+ "mauri", "-d", c_str0, "-a", c_str1, "-m", monitor->os->name, "-w", width, "-h", height, NULL});
}
al_str_free(&wallpaper_path);
al_free(c_str0);