diff options
author | blue-devil-93 <[email protected]> | 2021-06-24 10:32:21 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-24 10:32:21 +0200 |
commit | 9bf6f4ec2f77fd09a12ba2b68416e81a13b4ca3d (patch) | |
tree | 497fa90cd62785e4c9a522d265f323598fe575d8 /desktop-themes/YaruGreen/gtk-4.0/render-assets.sh | |
parent | fb195c9951cd9d87cd650f1cb901dbfc5966ab04 (diff) | |
download | mate-themes-9bf6f4ec2f77fd09a12ba2b68416e81a13b4ca3d.tar.bz2 mate-themes-9bf6f4ec2f77fd09a12ba2b68416e81a13b4ca3d.tar.xz |
Propose a different traditional ok implentation (#290)
* tr
* Propose another Traditonal Ok implementation based on Yaru
* Makefile
* fix makefile
* remove whitespace+
* remove trailing whitespaces
* rename it to traditionalok
* move Theme to yaruok
* Fix regression in mate appearance yaruok
* Sync with official branch
* readd traditionalokf
* fix YaruOK case mismatch
* improve tabs on gtk4
* fix Makefile.am
* Add YaruGreen
* Fix YaruGreen GTK3
* Fix Build - first try
* Fix Build - second try
* Fix Build - third try
* improve colors of yaru green, decrease tab size
* import scrollbar code from traditional green to yaru green
* fix build
* Tab_alignment_fix_for_yaru_green
* add panel grip
* decrease_tab_size fix_panel fix_link_color
* sync_yru_ok_with_green
* addpanel_gripper_to yaru
* darken yarugreen scrollbar as requested
* decrease border radius for popover on yaru grren and ok
* decrease border radius for popover on yaru grren and ok .
* fiy overlay - first try
* fix osd colors
* improve tabs and panel grabber
* decrease popover and menu radius to 2px
* fix mate-calc
* fix mate-calc.
Diffstat (limited to 'desktop-themes/YaruGreen/gtk-4.0/render-assets.sh')
-rw-r--r-- | desktop-themes/YaruGreen/gtk-4.0/render-assets.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/desktop-themes/YaruGreen/gtk-4.0/render-assets.sh b/desktop-themes/YaruGreen/gtk-4.0/render-assets.sh new file mode 100644 index 00000000..24d7675a --- /dev/null +++ b/desktop-themes/YaruGreen/gtk-4.0/render-assets.sh @@ -0,0 +1,34 @@ +#! /bin/bash + +INKSCAPE="/usr/bin/inkscape" +OPTIPNG="/usr/bin/optipng" + +SRC_FILE="assets.svg" +ASSETS_DIR="assets" +INDEX="assets.txt" + +for i in `cat $INDEX` +do +if [ -f $ASSETS_DIR/$i.png ]; then + echo $ASSETS_DIR/$i.png exists. +else + echo + echo Rendering $ASSETS_DIR/$i.png + $INKSCAPE --export-id=$i \ + --export-id-only \ + --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null #\ + # && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png +fi +if [ -f $ASSETS_DIR/[email protected] ]; then + echo $ASSETS_DIR/[email protected] exists. +else + echo + echo Rendering $ASSETS_DIR/[email protected] + $INKSCAPE --export-id=$i \ + --export-dpi=180 \ + --export-id-only \ + --export-png=$ASSETS_DIR/[email protected] $SRC_FILE >/dev/null #\ + # && $OPTIPNG -o7 --quiet $ASSETS_DIR/[email protected] +fi +done +exit 0 |