From 922502515776437a9add23fdb2c524ec7ab42b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Sat, 11 Nov 2023 07:47:52 +0100 Subject: [PATCH] Default dark theme --- Changelog.md | 8 +++++--- czkawka_gui/README.md | 0 krokiet/README.md | 10 +++++++++- krokiet/build.rs | 8 +++++++- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 czkawka_gui/README.md diff --git a/Changelog.md b/Changelog.md index 7cb2866..c2b5488 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,12 +1,14 @@ ## Version 7.0.0 - ? ### GTK GUI +- Added drag&drop support for included/excluded folders - [#1102](https://github.com/qarmin/czkawka/pull/1102) ### CLI -### Slawka GUI - -### Core(all modes) +### Krokiet GUI +- Initial release of new gui - [#1102](https://github.com/qarmin/czkawka/pull/1102) +### Core +- Using normal crossbeam channels instead of asyncio tokio channel - [#1102](https://github.com/qarmin/czkawka/pull/1102) ## Version 6.1.0 - 15.10.2023r - BREAKING CHANGE - Changed cache saving method, deduplicated, optimized and simplified procedure(all files needs to be hashed again) - [#1072](https://github.com/qarmin/czkawka/pull/1072), [#1086](https://github.com/qarmin/czkawka/pull/1086) diff --git a/czkawka_gui/README.md b/czkawka_gui/README.md new file mode 100644 index 0000000..e69de29 diff --git a/krokiet/README.md b/krokiet/README.md index 3dd4447..f90ea89 100644 --- a/krokiet/README.md +++ b/krokiet/README.md @@ -97,7 +97,7 @@ SLINT_STYLE=material-dark cargo run -- --path . - Suggesting possible design changes in the gui - of course, they should be possible to be simply implemented in the slint keeping in mind the performance aspect as well - Modifying user interface - gui is written in simple language similar to qml, that can be modified in vscode/web with - live preview - [slint live preview example](https://slint.dev/releases/1.2.2/editor/?load_demo=examples/printerdemo/ui/printerdemo.slint) + live preview - [slint live preview example](https://slint.dev/releases/1.3.0/editor/?load_demo=examples/printerdemo/ui/printerdemo.slint) - Improving libraries used by Krokiet e.g. czkawka_core, image-rs etc. - Improving app rust code @@ -110,8 +110,16 @@ SLINT_STYLE=material-dark cargo run -- --path . - settings - moving files - deleting files +- sorting files +- saving results +- symlink/hardlink - implementing all modes - multiple languages +- multiple selection +- key selection support +- proper popup windows - slint not handle them properly +- logo +- about window ## Why Slint? diff --git a/krokiet/build.rs b/krokiet/build.rs index 2f05231..87696d6 100644 --- a/krokiet/build.rs +++ b/krokiet/build.rs @@ -1,3 +1,9 @@ +use std::env; + fn main() { - slint_build::compile("ui/main_window.slint").unwrap(); + if env::var("SLINT_STYLE").is_err() || env::var("SLINT_STYLE") == Ok("".into()) { + slint_build::compile_with_config("ui/main_window.slint", slint_build::CompilerConfiguration::new().with_style("fluent-dark".into())).unwrap(); + } else { + slint_build::compile("ui/main_window.slint").unwrap(); + } }