Last active
October 4, 2025 01: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
| # 2025/10/04 把原先的黃/綠色框改成紫色框,跟 Sweet-Dark-v40 原來的顏色比較搭 | |
| ACTIVE_BORDER_COLOR="#ce93ff" | |
| INACTIVE_BORDER_COLOR="#7944aa" | |
| 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 5x$TITLE_HEIGHT xc:$ACTIVE_BORDER_COLOR top-left-active.png | |
| convert -size 5x$TITLE_HEIGHT xc:$ACTIVE_BORDER_COLOR top-right-active.png | |
| convert -size 3x16 xc:$ACTIVE_BORDER_COLOR left-active.png | |
| convert -size 3x16 xc:$ACTIVE_BORDER_COLOR right-active.png | |
| convert -size 16x3 xc:$ACTIVE_BORDER_COLOR bottom-active.png | |
| convert -size 5x5 xc:$ACTIVE_BORDER_COLOR bottom-left-active.png | |
| convert -size 5x5 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 5x$TITLE_HEIGHT xc:$INACTIVE_BORDER_COLOR top-left-inactive.png | |
| convert -size 5x$TITLE_HEIGHT xc:$INACTIVE_BORDER_COLOR top-right-inactive.png | |
| convert -size 3x16 xc:$INACTIVE_BORDER_COLOR left-inactive.png | |
| convert -size 3x16 xc:$INACTIVE_BORDER_COLOR right-inactive.png | |
| convert -size 16x3 xc:$INACTIVE_BORDER_COLOR bottom-inactive.png | |
| convert -size 5x5 xc:$INACTIVE_BORDER_COLOR bottom-left-inactive.png | |
| convert -size 5x5 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