Improved inactive (backdrop) window title color for xfwm4

This commit is contained in:
Eudaimon 2022-03-01 11:43:47 +01:00
parent 9d244b3ee4
commit d05ca6f583
21 changed files with 371 additions and 20 deletions

19
xfwm4/change_color.sh Executable file
View File

@ -0,0 +1,19 @@
#! /bin/bash
#Edits all xpm files in current directory, replacing the contents of variable "or" for the contents of "dest"
or="C0C0FF s inactive_color_1"
dest="C0C0FF s inactive_color_2"
files=*inactive.xpm
files_string='*inactive.xpm'
echo "'$or' will be replaced by '$dest' on all $files_string files"
read -p "Are you sure? (Y/N) " resposta
if [[ $resposta == "Y" || $resposta == "y" ]]
then
echo "will crawl the follwing files:" *inactive.xpm
sed -i "s/$or/$dest/g" *.xpm
else
echo "Your answer was not Y, so no doing anything..."
fi

View File

@ -2,7 +2,7 @@
static char * close_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * hide_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * maximize_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * maximize_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * menu_inactive_xpm[] = {
"33 37 2 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
".................................",
".................................",
".................................",

View File

@ -2,7 +2,7 @@
static char * shade_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * shade_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * stick_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * stick_inactive_xpm[] = {
"33 37 5 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"@ c #949594 s inactive_shadow_1",
"# c #000000 s inactive_text_color",
"$ c #B4BAB4 s inactive_mid_1",

View File

@ -2,7 +2,7 @@
static char * title_inactive_xpm[] = {
"6 37 2 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"........",
"........",
"........",

View File

@ -1 +0,0 @@
title-1-active.xpm

43
xfwm4/title-2-active.xpm Normal file
View File

@ -0,0 +1,43 @@
/* XPM */
static char * title_active_xpm[] = {
"6 37 3 1",
" c None",
". c #C0C0FF s active_color_1",
"@ c #C0C0FF s active_color_1",
"@@@@@@@@",
"@@@@@@@@",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-inactive.xpm

View File

@ -0,0 +1,42 @@
/* XPM */
static char * title_inactive_xpm[] = {
"6 37 2 1",
" c None",
". c #C0C0FF s inactive_color_2",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-active.xpm

43
xfwm4/title-3-active.xpm Normal file
View File

@ -0,0 +1,43 @@
/* XPM */
static char * title_active_xpm[] = {
"6 37 3 1",
" c None",
". c #C0C0FF s active_color_1",
"@ c #C0C0FF s active_color_1",
"@@@@@@@@",
"@@@@@@@@",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-inactive.xpm

View File

@ -0,0 +1,42 @@
/* XPM */
static char * title_inactive_xpm[] = {
"6 37 2 1",
" c None",
". c #C0C0FF s inactive_color_2",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-active.xpm

43
xfwm4/title-4-active.xpm Normal file
View File

@ -0,0 +1,43 @@
/* XPM */
static char * title_active_xpm[] = {
"6 37 3 1",
" c None",
". c #C0C0FF s active_color_1",
"@ c #C0C0FF s active_color_1",
"@@@@@@@@",
"@@@@@@@@",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-inactive.xpm

View File

@ -0,0 +1,42 @@
/* XPM */
static char * title_inactive_xpm[] = {
"6 37 2 1",
" c None",
". c #C0C0FF s inactive_color_2",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-active.xpm

43
xfwm4/title-5-active.xpm Normal file
View File

@ -0,0 +1,43 @@
/* XPM */
static char * title_active_xpm[] = {
"6 37 3 1",
" c None",
". c #C0C0FF s active_color_1",
"@ c #C0C0FF s active_color_1",
"@@@@@@@@",
"@@@@@@@@",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -1 +0,0 @@
title-1-inactive.xpm

View File

@ -0,0 +1,42 @@
/* XPM */
static char * title_inactive_xpm[] = {
"6 37 2 1",
" c None",
". c #C0C0FF s inactive_color_2",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........",
"........"};

View File

@ -2,7 +2,7 @@
static char * top_left_inactive_xpm[] = {
"12 37 2 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
" .....",
" .......",
" .........",

View File

@ -2,7 +2,7 @@
static char * top_right_inactive_xpm[] = {
"12 37 2 1",
" c None",
". c #C0C0FF s inactive_color_1",
". c #C0C0FF s inactive_color_2",
"..... ",
"....... ",
"......... ",