From 21934716c71a8c37aa64a9b8d0dc622cd3dcb6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Mon, 21 Dec 2020 16:59:45 +0100 Subject: [PATCH] Add new windows dark theme --- .github/workflows/windows.yml | 14 ++++++++++++++ README.md | 7 +++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5706d7e97..75806eb69 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -212,13 +212,19 @@ jobs: GTK_LIBRARY="$(pwd)/gtk_library" GTK_APP="$(pwd)/gtk_app" + GTK_THEME="$(pwd)/gtk_theme" wget https://github.com/qarmin/gtk_library_store/releases/download/3.24.0/mingw64.zip unzip mingw64.zip -d $GTK_LIBRARY GTK_LIBRARY="$GTK_LIBRARY/mingw64" + wget https://github.com/nrhodes91/AdMin/archive/master.zip + unzip master.zip -d $GTK_THEME + PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH="$GTK_LIBRARY/lib/pkgconfig" RUSTFLAGS="-L $GTK_LIBRARY/lib" cargo build --target=x86_64-pc-windows-gnu --bin czkawka_gui --release + strip target/x86_64-pc-windows-gnu/release/czkawka_gui.exe + mkdir $GTK_APP cp target/x86_64-pc-windows-gnu/release/czkawka_gui.exe $GTK_APP cp $GTK_LIBRARY/bin/*.dll $GTK_APP @@ -229,6 +235,14 @@ jobs: mkdir $GTK_APP/lib cp -r $GTK_LIBRARY/lib/gdk-pixbuf-2.0 $GTK_APP/lib + mkdir -p $GTK_APP/share/themes + mkdir -p $GTK_APP/share/gtk-3.0 + echo "[Settings]" > $GTK_APP/share/gtk-3.0/settings.ini + echo "gtk-theme-name = admin-gtk3-dark-osx" >> $GTK_APP/share/gtk-3.0/settings.ini + echo "gtk-font-name = Segoe UI 10" >> $GTK_APP/share/gtk-3.0/settings.ini + echo "gtk-xft-rgba = rgb" >> $GTK_APP/share/gtk-3.0/settings.ini + cp $GTK_THEME/AdMin-master/admin-gtk3-dark-osx $GTK_APP/share/themes -r + zip -r gtk_app.zip $GTK_APP env: CARGO_INCREMENTAL: 0 diff --git a/README.md b/README.md index e76574660..6ac3b2a2a 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ - Similar Images - Finds images which are not exactly the same(different resolution, watermarks) - Zeroed Files - Find files which are filled with zeros(usually corrupted) - Same Music - Search for music with same artist, album etc. + - Invalid Symbolic Links - Shows symbolic links which points to non-existent files/directories ![Czkawka](https://user-images.githubusercontent.com/41945903/100857797-69809680-348d-11eb-8382-acdec05fd3b8.gif) ## Requirements @@ -166,10 +167,10 @@ So still is a big room for improvements. | Similar images | X | | X | | Zeroed Files| X | | | | Music duplicates(tags) | X | | X | +| Invalid symlinks | X | X | | | Installed packages | | X | | | Invalid names | | X | | | Names conflict | | X | | -| Invalid symlinks | | X | | | Bad ID | | X | | | Non stripped binaries | | X | | | Redundant whitespace | | X | | @@ -190,7 +191,9 @@ The code should also be easy to read, so please use the simplest language possib ## Name Czkawka is a Polish word which means _hiccup_. -I chose this name because I wanted to hear people speaking other languages pronounce it. + +I chose this name because I wanted to hear people speaking other languages pronounce it. + This name is not as bad as it seems, because I was also thinking about using words like _żółć_, _gżegżółka_ or _żołądź_, but I gave up on these ideas because they contained Polish characters, which would cause difficulty in searching for the project. At the beginning of the program creation, if the response concerning the name was unanimously negative, I prepared myself for a possible change of the name of the program, but the opinions were extremely mixed.