diff --git a/install.sh b/install.sh index 3769ff02..8a7aad29 100755 --- a/install.sh +++ b/install.sh @@ -185,7 +185,7 @@ install() { cd "${THEME_DIR}/metacity-1" && ln -s metacity-theme-1.xml metacity-theme-2.xml mkdir -p "${THEME_DIR}/xfwm4" - cp -r "${SRC_DIR}/assets/xfwm4/assets${color}/"*'.png' "${THEME_DIR}/xfwm4" + cp -r "${SRC_DIR}/assets/xfwm4/assets${color}${small}/"*'.png' "${THEME_DIR}/xfwm4" cp -r "${SRC_DIR}/main/xfwm4/themerc${color}" "${THEME_DIR}/xfwm4/themerc" mkdir -p "${THEME_DIR}/unity" diff --git a/render-assets.sh b/render-assets.sh index 7f91c9e1..37d60fa2 100755 --- a/render-assets.sh +++ b/render-assets.sh @@ -141,7 +141,7 @@ cd "$ASRC_DIR/unity" && ./render-assets.sh echo echo Rendering xfwm4 assets -cd "$ASRC_DIR/xfwm4" && ./render-assets.sh +cd "$ASRC_DIR/xfwm4" && ./render-assets.sh && ./render-small-assets.sh cd "${REPO_DIR}/src/main/xfwm4" && { for suf in 'Light' 'Dark'; do [ -f themerc-${suf}.orig ] || cp themerc-${suf}{,.orig} diff --git a/src/assets/xfwm4/assets-Dark-small.svg b/src/assets/xfwm4/assets-Dark-small.svg new file mode 100644 index 00000000..9abc22ac --- /dev/null +++ b/src/assets/xfwm4/assets-Dark-small.svg @@ -0,0 +1,2348 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/xfwm4/assets-Dark-small/bottom-active.png b/src/assets/xfwm4/assets-Dark-small/bottom-active.png new file mode 100644 index 00000000..7a47d328 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/bottom-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/bottom-inactive.png b/src/assets/xfwm4/assets-Dark-small/bottom-inactive.png new file mode 100644 index 00000000..7a47d328 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/bottom-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/bottom-left-active.png b/src/assets/xfwm4/assets-Dark-small/bottom-left-active.png new file mode 100644 index 00000000..cec438bb Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/bottom-left-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/bottom-left-inactive.png b/src/assets/xfwm4/assets-Dark-small/bottom-left-inactive.png new file mode 100644 index 00000000..cec438bb Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/bottom-left-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/bottom-right-active.png b/src/assets/xfwm4/assets-Dark-small/bottom-right-active.png new file mode 100644 index 00000000..51501fd2 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/bottom-right-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/bottom-right-inactive.png b/src/assets/xfwm4/assets-Dark-small/bottom-right-inactive.png new file mode 100644 index 00000000..51501fd2 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/bottom-right-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/close-active.png b/src/assets/xfwm4/assets-Dark-small/close-active.png new file mode 100644 index 00000000..02061d81 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/close-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/close-inactive.png b/src/assets/xfwm4/assets-Dark-small/close-inactive.png new file mode 100644 index 00000000..24337722 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/close-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/close-prelight.png b/src/assets/xfwm4/assets-Dark-small/close-prelight.png new file mode 100644 index 00000000..23a6cae9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/close-prelight.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/close-pressed.png b/src/assets/xfwm4/assets-Dark-small/close-pressed.png new file mode 100644 index 00000000..2cc68328 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/close-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/hide-active.png b/src/assets/xfwm4/assets-Dark-small/hide-active.png new file mode 100644 index 00000000..30452086 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/hide-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/hide-inactive.png b/src/assets/xfwm4/assets-Dark-small/hide-inactive.png new file mode 100644 index 00000000..24337722 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/hide-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/hide-prelight.png b/src/assets/xfwm4/assets-Dark-small/hide-prelight.png new file mode 100644 index 00000000..c75c7a00 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/hide-prelight.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/hide-pressed.png b/src/assets/xfwm4/assets-Dark-small/hide-pressed.png new file mode 100644 index 00000000..21089208 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/hide-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/left-active.png b/src/assets/xfwm4/assets-Dark-small/left-active.png new file mode 100644 index 00000000..9cb30e1b Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/left-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/left-inactive.png b/src/assets/xfwm4/assets-Dark-small/left-inactive.png new file mode 100644 index 00000000..9cb30e1b Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/left-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-active.png b/src/assets/xfwm4/assets-Dark-small/maximize-active.png new file mode 100644 index 00000000..fba7efd4 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-inactive.png b/src/assets/xfwm4/assets-Dark-small/maximize-inactive.png new file mode 100644 index 00000000..16436c5d Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-prelight.png b/src/assets/xfwm4/assets-Dark-small/maximize-prelight.png new file mode 100644 index 00000000..9c9dcd7a Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-prelight.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-pressed.png b/src/assets/xfwm4/assets-Dark-small/maximize-pressed.png new file mode 100644 index 00000000..c14c3956 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-toggled-active.png b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-active.png new file mode 100644 index 00000000..fba7efd4 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-toggled-inactive.png b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-inactive.png new file mode 100644 index 00000000..24337722 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-toggled-prelight.png b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-prelight.png new file mode 100644 index 00000000..189ecbf4 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-prelight.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/maximize-toggled-pressed.png b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-pressed.png new file mode 100644 index 00000000..8797159f Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/maximize-toggled-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/menu-active.png b/src/assets/xfwm4/assets-Dark-small/menu-active.png new file mode 100644 index 00000000..e131e9e7 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/menu-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/menu-inactive.png b/src/assets/xfwm4/assets-Dark-small/menu-inactive.png new file mode 100644 index 00000000..edfecdd2 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/menu-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/menu-pressed.png b/src/assets/xfwm4/assets-Dark-small/menu-pressed.png new file mode 100644 index 00000000..39a65a95 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/menu-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/right-active.png b/src/assets/xfwm4/assets-Dark-small/right-active.png new file mode 100644 index 00000000..38b40c10 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/right-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/right-inactive.png b/src/assets/xfwm4/assets-Dark-small/right-inactive.png new file mode 100644 index 00000000..38b40c10 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/right-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/shade-active.png b/src/assets/xfwm4/assets-Dark-small/shade-active.png new file mode 100644 index 00000000..50a768b4 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/shade-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/shade-inactive.png b/src/assets/xfwm4/assets-Dark-small/shade-inactive.png new file mode 100644 index 00000000..eb5cd7f7 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/shade-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/shade-pressed.png b/src/assets/xfwm4/assets-Dark-small/shade-pressed.png new file mode 100644 index 00000000..19a2bef6 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/shade-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/stick-active.png b/src/assets/xfwm4/assets-Dark-small/stick-active.png new file mode 100644 index 00000000..2eec7e95 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/stick-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/stick-inactive.png b/src/assets/xfwm4/assets-Dark-small/stick-inactive.png new file mode 100644 index 00000000..cead8dd6 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/stick-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/stick-pressed.png b/src/assets/xfwm4/assets-Dark-small/stick-pressed.png new file mode 100644 index 00000000..9a725217 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/stick-pressed.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-1-active.png b/src/assets/xfwm4/assets-Dark-small/title-1-active.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-1-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-1-inactive.png b/src/assets/xfwm4/assets-Dark-small/title-1-inactive.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-1-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-2-active.png b/src/assets/xfwm4/assets-Dark-small/title-2-active.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-2-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-2-inactive.png b/src/assets/xfwm4/assets-Dark-small/title-2-inactive.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-2-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-3-active.png b/src/assets/xfwm4/assets-Dark-small/title-3-active.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-3-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-3-inactive.png b/src/assets/xfwm4/assets-Dark-small/title-3-inactive.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-3-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-4-active.png b/src/assets/xfwm4/assets-Dark-small/title-4-active.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-4-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-4-inactive.png b/src/assets/xfwm4/assets-Dark-small/title-4-inactive.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-4-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-5-active.png b/src/assets/xfwm4/assets-Dark-small/title-5-active.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-5-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/title-5-inactive.png b/src/assets/xfwm4/assets-Dark-small/title-5-inactive.png new file mode 100644 index 00000000..79eed7c9 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/title-5-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/top-left-active.png b/src/assets/xfwm4/assets-Dark-small/top-left-active.png new file mode 100644 index 00000000..1f5bdc98 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/top-left-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/top-left-inactive.png b/src/assets/xfwm4/assets-Dark-small/top-left-inactive.png new file mode 100644 index 00000000..1f5bdc98 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/top-left-inactive.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/top-right-active.png b/src/assets/xfwm4/assets-Dark-small/top-right-active.png new file mode 100644 index 00000000..24f58050 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/top-right-active.png differ diff --git a/src/assets/xfwm4/assets-Dark-small/top-right-inactive.png b/src/assets/xfwm4/assets-Dark-small/top-right-inactive.png new file mode 100644 index 00000000..24f58050 Binary files /dev/null and b/src/assets/xfwm4/assets-Dark-small/top-right-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small.svg b/src/assets/xfwm4/assets-Light-small.svg new file mode 100644 index 00000000..8761dcdb --- /dev/null +++ b/src/assets/xfwm4/assets-Light-small.svg @@ -0,0 +1,2316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/xfwm4/assets-Light-small/bottom-active.png b/src/assets/xfwm4/assets-Light-small/bottom-active.png new file mode 100644 index 00000000..de32d9e7 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/bottom-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/bottom-inactive.png b/src/assets/xfwm4/assets-Light-small/bottom-inactive.png new file mode 100644 index 00000000..de32d9e7 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/bottom-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/bottom-left-active.png b/src/assets/xfwm4/assets-Light-small/bottom-left-active.png new file mode 100644 index 00000000..fd459de2 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/bottom-left-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/bottom-left-inactive.png b/src/assets/xfwm4/assets-Light-small/bottom-left-inactive.png new file mode 100644 index 00000000..fd459de2 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/bottom-left-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/bottom-right-active.png b/src/assets/xfwm4/assets-Light-small/bottom-right-active.png new file mode 100644 index 00000000..40560aed Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/bottom-right-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/bottom-right-inactive.png b/src/assets/xfwm4/assets-Light-small/bottom-right-inactive.png new file mode 100644 index 00000000..40560aed Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/bottom-right-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/close-active.png b/src/assets/xfwm4/assets-Light-small/close-active.png new file mode 100644 index 00000000..222c74dc Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/close-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/close-inactive.png b/src/assets/xfwm4/assets-Light-small/close-inactive.png new file mode 100644 index 00000000..c8671fa0 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/close-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/close-prelight.png b/src/assets/xfwm4/assets-Light-small/close-prelight.png new file mode 100644 index 00000000..07cb341f Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/close-prelight.png differ diff --git a/src/assets/xfwm4/assets-Light-small/close-pressed.png b/src/assets/xfwm4/assets-Light-small/close-pressed.png new file mode 100644 index 00000000..ea4cb681 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/close-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/hide-active.png b/src/assets/xfwm4/assets-Light-small/hide-active.png new file mode 100644 index 00000000..1fa9c406 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/hide-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/hide-inactive.png b/src/assets/xfwm4/assets-Light-small/hide-inactive.png new file mode 100644 index 00000000..c8671fa0 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/hide-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/hide-prelight.png b/src/assets/xfwm4/assets-Light-small/hide-prelight.png new file mode 100644 index 00000000..ed3d23b8 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/hide-prelight.png differ diff --git a/src/assets/xfwm4/assets-Light-small/hide-pressed.png b/src/assets/xfwm4/assets-Light-small/hide-pressed.png new file mode 100644 index 00000000..2adda5de Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/hide-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/left-active.png b/src/assets/xfwm4/assets-Light-small/left-active.png new file mode 100644 index 00000000..feef3dbc Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/left-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/left-inactive.png b/src/assets/xfwm4/assets-Light-small/left-inactive.png new file mode 100644 index 00000000..feef3dbc Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/left-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-active.png b/src/assets/xfwm4/assets-Light-small/maximize-active.png new file mode 100644 index 00000000..355948e5 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-inactive.png b/src/assets/xfwm4/assets-Light-small/maximize-inactive.png new file mode 100644 index 00000000..c8671fa0 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-prelight.png b/src/assets/xfwm4/assets-Light-small/maximize-prelight.png new file mode 100644 index 00000000..9434c89f Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-prelight.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-pressed.png b/src/assets/xfwm4/assets-Light-small/maximize-pressed.png new file mode 100644 index 00000000..23528950 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-toggled-active.png b/src/assets/xfwm4/assets-Light-small/maximize-toggled-active.png new file mode 100644 index 00000000..355948e5 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-toggled-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-toggled-inactive.png b/src/assets/xfwm4/assets-Light-small/maximize-toggled-inactive.png new file mode 100644 index 00000000..c8671fa0 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-toggled-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-toggled-prelight.png b/src/assets/xfwm4/assets-Light-small/maximize-toggled-prelight.png new file mode 100644 index 00000000..408cf016 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-toggled-prelight.png differ diff --git a/src/assets/xfwm4/assets-Light-small/maximize-toggled-pressed.png b/src/assets/xfwm4/assets-Light-small/maximize-toggled-pressed.png new file mode 100644 index 00000000..928424a5 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/maximize-toggled-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/menu-active.png b/src/assets/xfwm4/assets-Light-small/menu-active.png new file mode 100644 index 00000000..01c229c4 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/menu-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/menu-inactive.png b/src/assets/xfwm4/assets-Light-small/menu-inactive.png new file mode 100644 index 00000000..351c6495 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/menu-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/menu-pressed.png b/src/assets/xfwm4/assets-Light-small/menu-pressed.png new file mode 100644 index 00000000..669c8dd6 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/menu-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/right-active.png b/src/assets/xfwm4/assets-Light-small/right-active.png new file mode 100644 index 00000000..5d7aa658 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/right-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/right-inactive.png b/src/assets/xfwm4/assets-Light-small/right-inactive.png new file mode 100644 index 00000000..5d7aa658 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/right-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/shade-active.png b/src/assets/xfwm4/assets-Light-small/shade-active.png new file mode 100644 index 00000000..2128d962 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/shade-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/shade-inactive.png b/src/assets/xfwm4/assets-Light-small/shade-inactive.png new file mode 100644 index 00000000..3e2ebdf6 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/shade-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/shade-pressed.png b/src/assets/xfwm4/assets-Light-small/shade-pressed.png new file mode 100644 index 00000000..e9d63cdb Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/shade-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/stick-active.png b/src/assets/xfwm4/assets-Light-small/stick-active.png new file mode 100644 index 00000000..e75225db Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/stick-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/stick-inactive.png b/src/assets/xfwm4/assets-Light-small/stick-inactive.png new file mode 100644 index 00000000..ae9b1394 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/stick-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/stick-pressed.png b/src/assets/xfwm4/assets-Light-small/stick-pressed.png new file mode 100644 index 00000000..d8e0f725 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/stick-pressed.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-1-active.png b/src/assets/xfwm4/assets-Light-small/title-1-active.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-1-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-1-inactive.png b/src/assets/xfwm4/assets-Light-small/title-1-inactive.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-1-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-2-active.png b/src/assets/xfwm4/assets-Light-small/title-2-active.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-2-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-2-inactive.png b/src/assets/xfwm4/assets-Light-small/title-2-inactive.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-2-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-3-active.png b/src/assets/xfwm4/assets-Light-small/title-3-active.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-3-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-3-inactive.png b/src/assets/xfwm4/assets-Light-small/title-3-inactive.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-3-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-4-active.png b/src/assets/xfwm4/assets-Light-small/title-4-active.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-4-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-4-inactive.png b/src/assets/xfwm4/assets-Light-small/title-4-inactive.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-4-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-5-active.png b/src/assets/xfwm4/assets-Light-small/title-5-active.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-5-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/title-5-inactive.png b/src/assets/xfwm4/assets-Light-small/title-5-inactive.png new file mode 100644 index 00000000..30b5d947 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/title-5-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/top-left-active.png b/src/assets/xfwm4/assets-Light-small/top-left-active.png new file mode 100644 index 00000000..06cc6ab9 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/top-left-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/top-left-inactive.png b/src/assets/xfwm4/assets-Light-small/top-left-inactive.png new file mode 100644 index 00000000..06cc6ab9 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/top-left-inactive.png differ diff --git a/src/assets/xfwm4/assets-Light-small/top-right-active.png b/src/assets/xfwm4/assets-Light-small/top-right-active.png new file mode 100644 index 00000000..4ffee8e9 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/top-right-active.png differ diff --git a/src/assets/xfwm4/assets-Light-small/top-right-inactive.png b/src/assets/xfwm4/assets-Light-small/top-right-inactive.png new file mode 100644 index 00000000..4ffee8e9 Binary files /dev/null and b/src/assets/xfwm4/assets-Light-small/top-right-inactive.png differ diff --git a/src/assets/xfwm4/render-small-assets.sh b/src/assets/xfwm4/render-small-assets.sh new file mode 100755 index 00000000..ccd43391 --- /dev/null +++ b/src/assets/xfwm4/render-small-assets.sh @@ -0,0 +1,43 @@ +#! /usr/bin/env bash + +INKSCAPE="/usr/bin/inkscape" +OPTIPNG="/usr/bin/optipng" + +SRC_FILE="assets-Light-small.svg" +DARK_SRC_FILE="assets-Dark-small.svg" +ASSETS_DIR="assets-Light-small" +DARK_ASSETS_DIR="assets-Dark-small" + +INDEX="assets.txt" + +# check command avalibility +has_command() { + "$1" -v $1 > /dev/null 2>&1 +} + +rm -rf "$ASSETS_DIR" "$DARK_ASSETS_DIR" +mkdir -p $ASSETS_DIR && mkdir -p $DARK_ASSETS_DIR + +for i in `cat $INDEX` +do + if [ $(jobs -p | wc -l) -ge ${BUILD_THREADS} ]; then wait; fi + echo Rendering $ASSETS_DIR/$i.png + + $INKSCAPE --export-id=$i \ + --export-dpi=$(( 96 * XFWM4_SCALE_FACTOR )) \ + --export-id-only \ + --export-filename=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null 2>&1 && + $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png & + + if [ $(jobs -p | wc -l) -ge ${BUILD_THREADS} ]; then wait; fi + echo Rendering $DARK_ASSETS_DIR/$i.png + + $INKSCAPE --export-id=$i \ + --export-dpi=$(( 96 * XFWM4_SCALE_FACTOR )) \ + --export-id-only \ + --export-filename=$DARK_ASSETS_DIR/$i.png $DARK_SRC_FILE >/dev/null 2>&1 && + $OPTIPNG -o7 --quiet $DARK_ASSETS_DIR/$i.png & +done + +wait +exit 0