Created
September 25, 2024 04:40
-
-
Save ckhung/7eda02ac8a46f7f45cc62a45bc4235e1 to your computer and use it in GitHub Desktop.
generate tiles needed for window border parts for a dark xfce4 theme so that one can have a dark desktop with bright window borders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTIVE_BORDER_COLOR="#ffff80" | |
INACTIVE_BORDER_COLOR="#80c080" | |
TITLE_HEIGHT=18 | |
for i in 1 2 3 4 5 ; do convert -size 24x$TITLE_HEIGHT xc:$ACTIVE_BORDER_COLOR title-$i-active.png ; done | |
convert -size 2x$TITLE_HEIGHT xc:$ACTIVE_BORDER_COLOR top-left-active.png | |
convert -size 2x$TITLE_HEIGHT xc:$ACTIVE_BORDER_COLOR top-right-active.png | |
convert -size 2x16 xc:$ACTIVE_BORDER_COLOR left-active.png | |
convert -size 2x16 xc:$ACTIVE_BORDER_COLOR right-active.png | |
convert -size 16x2 xc:$ACTIVE_BORDER_COLOR bottom-active.png | |
convert -size 3x3 xc:$ACTIVE_BORDER_COLOR bottom-left-active.png | |
convert -size 3x3 xc:$ACTIVE_BORDER_COLOR bottom-right-active.png | |
for i in 1 2 3 4 5 ; do convert -size 24x$TITLE_HEIGHT xc:$INACTIVE_BORDER_COLOR title-$i-inactive.png ; done | |
convert -size 2x$TITLE_HEIGHT xc:$INACTIVE_BORDER_COLOR top-left-inactive.png | |
convert -size 2x$TITLE_HEIGHT xc:$INACTIVE_BORDER_COLOR top-right-inactive.png | |
convert -size 2x16 xc:$INACTIVE_BORDER_COLOR left-inactive.png | |
convert -size 2x16 xc:$INACTIVE_BORDER_COLOR right-inactive.png | |
convert -size 16x2 xc:$INACTIVE_BORDER_COLOR bottom-inactive.png | |
convert -size 3x3 xc:$INACTIVE_BORDER_COLOR bottom-left-inactive.png | |
convert -size 3x3 xc:$INACTIVE_BORDER_COLOR bottom-right-inactive.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment