diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main.rs b/src/main.rs index 45d459b..8fccb05 100644 --- a/src/main.rs +++ b/src/main.rs @@ -145,28 +145,28 @@ fn main() -> Result<()> { } fs::create_dir("xcursor-out")?; for style in cursor_style { - fs::create_dir(format!("xcursor-out/{}", style.kind))?; + fs::create_dir(format!("xcursor-out/Bibata-{}", style.kind))?; for cursor in style.cursors { - println!("xcursor-out/{}/{}", style.kind, cursor.name.clone()); + println!("xcursor-out/Bibata-{}/{}", style.kind, cursor.name.clone()); // shove these files in a dir named `cursors` inside the theme dir // the theme dir should have these 2 files in it: // // cursor.theme: // [Icon Theme] - // Name=Bibata + // Name=Bibata-{style} // Inherits="Bibata" // // index.theme: // [Icon Theme] - // Name=Bibata - // Comment=Generated Bibata Theme + // Name=Bibata-{style} + // Comment=Generated Bibata {style} Theme // Inherits="hicolor" // // the theme dir should be ~/.local/share/icons/Bibata // - // to apply on gnome: gsettings set org.gnome.desktop.interface cursor-theme Bibata + // to apply on gnome: gsettings set org.gnome.desktop.interface cursor-theme Bibata-{style} fs::write( - format!("xcursor-out/{}/{}", style.kind, cursor.name.clone()), + format!("xcursor-out/Bibata-{}/{}", style.kind, cursor.name.clone()), process_xcursor( cursor.clone(), BibataColourScheme { @@ -177,7 +177,7 @@ fn main() -> Result<()> { watch_opacity: 1.0, }, vec![ - 4, 6, 8, 10, 12, 16, 18, 24, 30, 32, 36, 42, 48, 54, 60, 66, 72, 128, + 4, 6, 8, 10, 12, 16, 18, 24, 30, 32, 36, 42, 48, 54, 60, 66, 72, 128 ], 750, ), @@ -185,7 +185,7 @@ fn main() -> Result<()> { for alias in cursor.aliases { unix::fs::symlink( cursor.name.clone(), - format!("xcursor-out/{}/{}", style.kind, alias), + format!("xcursor-out/Bibata-{}/{}", style.kind, alias), )?; } } |