GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
refactor: create `resources/assets` dir
Lars Berger97bc5d530782
diff --git a/README.md b/README.mdindex 1b6ced45..0e2564c2 100644--- a/README.md+++ b/README.md@@ -1,5 +1,5 @@<div align="center">- <img src="./resources/logo.svg" width="230" alt="GlazeWM logo" />+ <img src="./resources/assets/logo.svg" width="230" alt="GlazeWM logo" /><br><br>@@ -46,11 +46,11 @@ On the first launch of GlazeWM, a default configuration can optionally be generaBelow is a cheatsheet of all available commands and their default keybindings.-+## Config documentation-The [default config](https://github.com/glzr-io/glazewm/blob/main/resources/sample-config.yaml) file is generated at `%userprofile%\.glzr\glazewm\config.yaml`.+The [default config](https://github.com/glzr-io/glazewm/blob/main/resources/assets/sample-config.yaml) file is generated at `%userprofile%\.glzr\glazewm\config.yaml`.To use a different config file location, you can launch the GlazeWM executable with the CLI argument `--config="..."`, like so:diff --git a/packages/watcher/build.rs b/packages/watcher/build.rsindex dee7ca90..8526fa23 100644--- a/packages/watcher/build.rs+++ b/packages/watcher/build.rs@@ -4,7 +4,7 @@ fn main() {println!("cargo:rerun-if-env-changed=VERSION_NUMBER");let mut res = tauri_winres::WindowsResource::new();- res.set_icon("../../resources/icon.ico");+ res.set_icon("../../resources/assets/icon.ico");// Set language to English (US).res.set_language(0x0409);diff --git a/packages/wm/build.rs b/packages/wm/build.rsindex 5a451b8b..c42bdb9e 100644--- a/packages/wm/build.rs+++ b/packages/wm/build.rs@@ -54,7 +54,7 @@ fn main() {);res.set_manifest(&manifest_str);- res.set_icon("../../resources/icon.ico");+ res.set_icon("../../resources/assets/icon.ico");// Set language to English (US).res.set_language(0x0409);diff --git a/packages/wm/src/user_config.rs b/packages/wm/src/user_config.rsindex 5cc90d64..109878be 100644--- a/packages/wm/src/user_config.rs+++ b/packages/wm/src/user_config.rs@@ -15,7 +15,7 @@ use crate::{/// Resource string for the sample config file.const SAMPLE_CONFIG: &str =- include_str!("../../../resources/sample-config.yaml");+ include_str!("../../../resources/assets/sample-config.yaml");#[derive(Debug)]pub struct UserConfig {diff --git a/resources/cheatsheet.png b/resources/assets/cheatsheet.pngsimilarity index 100%rename from resources/cheatsheet.pngrename to resources/assets/cheatsheet.pngdiff --git a/resources/icon.ico b/resources/assets/icon.icosimilarity index 100%rename from resources/icon.icorename to resources/assets/icon.icodiff --git a/resources/logo.svg b/resources/assets/logo.svgsimilarity index 100%rename from resources/logo.svgrename to resources/assets/logo.svgdiff --git a/resources/sample-config.yaml b/resources/assets/sample-config.yamlsimilarity index 100%rename from resources/sample-config.yamlrename to resources/assets/sample-config.yamldiff --git a/resources/wix/bundle.wxs b/resources/wix/bundle.wxsindex 499fc006..61b780de 100644--- a/resources/wix/bundle.wxs+++ b/resources/wix/bundle.wxs@@ -7,7 +7,7 @@Manufacturer="Glzr Software Pte. Ltd."DisableModify="yes"DisableRemove="yes"- IconSourceFile="resources/icon.ico"+ IconSourceFile="resources/assets/icon.ico"><BootstrapperApplication><bal:WixStandardBootstrapperApplicationdiff --git a/resources/wix/standalone.wxs b/resources/wix/standalone.wxsindex f4420d23..3905020e 100644--- a/resources/wix/standalone.wxs+++ b/resources/wix/standalone.wxs@@ -17,7 +17,7 @@<MajorUpgrade Schedule="afterInstallInitialize" AllowDowngrades="yes" /><!-- Set icon used by installer. -->- <Icon Id="Custom_Ico" SourceFile="resources/icon.ico" />+ <Icon Id="Custom_Ico" SourceFile="resources/assets/icon.ico" /><Property Id="ARPPRODUCTICON" Value="Custom_Ico" /><!-- Enable CAB embed, otherwise, a separate .cab file is created. -->