diff --git a/xfwm4/change_color.sh b/xfwm4/change_color.sh new file mode 100755 index 0000000..553bee5 --- /dev/null +++ b/xfwm4/change_color.sh @@ -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 + + diff --git a/xfwm4/close-inactive.xpm b/xfwm4/close-inactive.xpm index 2cae74b..cebbb16 100644 --- a/xfwm4/close-inactive.xpm +++ b/xfwm4/close-inactive.xpm @@ -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", diff --git a/xfwm4/hide-inactive.xpm b/xfwm4/hide-inactive.xpm index 1085669..2706a82 100644 --- a/xfwm4/hide-inactive.xpm +++ b/xfwm4/hide-inactive.xpm @@ -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", diff --git a/xfwm4/maximize-inactive.xpm b/xfwm4/maximize-inactive.xpm index f7c07ef..63c3913 100644 --- a/xfwm4/maximize-inactive.xpm +++ b/xfwm4/maximize-inactive.xpm @@ -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", diff --git a/xfwm4/maximize-toggled-inactive.xpm b/xfwm4/maximize-toggled-inactive.xpm index 1a65dd8..9a55524 100644 --- a/xfwm4/maximize-toggled-inactive.xpm +++ b/xfwm4/maximize-toggled-inactive.xpm @@ -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", diff --git a/xfwm4/menu-inactive.xpm b/xfwm4/menu-inactive.xpm index 25c2a95..97f7eb4 100644 --- a/xfwm4/menu-inactive.xpm +++ b/xfwm4/menu-inactive.xpm @@ -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", ".................................", ".................................", ".................................", diff --git a/xfwm4/shade-inactive.xpm b/xfwm4/shade-inactive.xpm index c8181df..4ffd716 100644 --- a/xfwm4/shade-inactive.xpm +++ b/xfwm4/shade-inactive.xpm @@ -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", diff --git a/xfwm4/shade-toggled-inactive.xpm b/xfwm4/shade-toggled-inactive.xpm index 6edb293..19e434f 100644 --- a/xfwm4/shade-toggled-inactive.xpm +++ b/xfwm4/shade-toggled-inactive.xpm @@ -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", diff --git a/xfwm4/stick-inactive.xpm b/xfwm4/stick-inactive.xpm index a67ccad..ccc50dd 100644 --- a/xfwm4/stick-inactive.xpm +++ b/xfwm4/stick-inactive.xpm @@ -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", diff --git a/xfwm4/stick-toggled-inactive.xpm b/xfwm4/stick-toggled-inactive.xpm index cca60b0..e48da1b 100644 --- a/xfwm4/stick-toggled-inactive.xpm +++ b/xfwm4/stick-toggled-inactive.xpm @@ -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", diff --git a/xfwm4/title-1-inactive.xpm b/xfwm4/title-1-inactive.xpm index 4bf9599..fb6f5db 100644 --- a/xfwm4/title-1-inactive.xpm +++ b/xfwm4/title-1-inactive.xpm @@ -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", "........", "........", "........", diff --git a/xfwm4/title-2-active.xpm b/xfwm4/title-2-active.xpm deleted file mode 120000 index def55f7..0000000 --- a/xfwm4/title-2-active.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-active.xpm \ No newline at end of file diff --git a/xfwm4/title-2-active.xpm b/xfwm4/title-2-active.xpm new file mode 100644 index 0000000..f05bf2e --- /dev/null +++ b/xfwm4/title-2-active.xpm @@ -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", +"@@@@@@@@", +"@@@@@@@@", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-2-inactive.xpm b/xfwm4/title-2-inactive.xpm deleted file mode 120000 index b5c58ae..0000000 --- a/xfwm4/title-2-inactive.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-inactive.xpm \ No newline at end of file diff --git a/xfwm4/title-2-inactive.xpm b/xfwm4/title-2-inactive.xpm new file mode 100644 index 0000000..fb6f5db --- /dev/null +++ b/xfwm4/title-2-inactive.xpm @@ -0,0 +1,42 @@ +/* XPM */ +static char * title_inactive_xpm[] = { +"6 37 2 1", +" c None", +". c #C0C0FF s inactive_color_2", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-3-active.xpm b/xfwm4/title-3-active.xpm deleted file mode 120000 index def55f7..0000000 --- a/xfwm4/title-3-active.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-active.xpm \ No newline at end of file diff --git a/xfwm4/title-3-active.xpm b/xfwm4/title-3-active.xpm new file mode 100644 index 0000000..f05bf2e --- /dev/null +++ b/xfwm4/title-3-active.xpm @@ -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", +"@@@@@@@@", +"@@@@@@@@", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-3-inactive.xpm b/xfwm4/title-3-inactive.xpm deleted file mode 120000 index b5c58ae..0000000 --- a/xfwm4/title-3-inactive.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-inactive.xpm \ No newline at end of file diff --git a/xfwm4/title-3-inactive.xpm b/xfwm4/title-3-inactive.xpm new file mode 100644 index 0000000..fb6f5db --- /dev/null +++ b/xfwm4/title-3-inactive.xpm @@ -0,0 +1,42 @@ +/* XPM */ +static char * title_inactive_xpm[] = { +"6 37 2 1", +" c None", +". c #C0C0FF s inactive_color_2", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-4-active.xpm b/xfwm4/title-4-active.xpm deleted file mode 120000 index def55f7..0000000 --- a/xfwm4/title-4-active.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-active.xpm \ No newline at end of file diff --git a/xfwm4/title-4-active.xpm b/xfwm4/title-4-active.xpm new file mode 100644 index 0000000..f05bf2e --- /dev/null +++ b/xfwm4/title-4-active.xpm @@ -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", +"@@@@@@@@", +"@@@@@@@@", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-4-inactive.xpm b/xfwm4/title-4-inactive.xpm deleted file mode 120000 index b5c58ae..0000000 --- a/xfwm4/title-4-inactive.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-inactive.xpm \ No newline at end of file diff --git a/xfwm4/title-4-inactive.xpm b/xfwm4/title-4-inactive.xpm new file mode 100644 index 0000000..fb6f5db --- /dev/null +++ b/xfwm4/title-4-inactive.xpm @@ -0,0 +1,42 @@ +/* XPM */ +static char * title_inactive_xpm[] = { +"6 37 2 1", +" c None", +". c #C0C0FF s inactive_color_2", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-5-active.xpm b/xfwm4/title-5-active.xpm deleted file mode 120000 index def55f7..0000000 --- a/xfwm4/title-5-active.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-active.xpm \ No newline at end of file diff --git a/xfwm4/title-5-active.xpm b/xfwm4/title-5-active.xpm new file mode 100644 index 0000000..f05bf2e --- /dev/null +++ b/xfwm4/title-5-active.xpm @@ -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", +"@@@@@@@@", +"@@@@@@@@", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/title-5-inactive.xpm b/xfwm4/title-5-inactive.xpm deleted file mode 120000 index b5c58ae..0000000 --- a/xfwm4/title-5-inactive.xpm +++ /dev/null @@ -1 +0,0 @@ -title-1-inactive.xpm \ No newline at end of file diff --git a/xfwm4/title-5-inactive.xpm b/xfwm4/title-5-inactive.xpm new file mode 100644 index 0000000..fb6f5db --- /dev/null +++ b/xfwm4/title-5-inactive.xpm @@ -0,0 +1,42 @@ +/* XPM */ +static char * title_inactive_xpm[] = { +"6 37 2 1", +" c None", +". c #C0C0FF s inactive_color_2", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........", +"........"}; diff --git a/xfwm4/top-left-inactive.xpm b/xfwm4/top-left-inactive.xpm index f091f9d..61972db 100644 --- a/xfwm4/top-left-inactive.xpm +++ b/xfwm4/top-left-inactive.xpm @@ -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", " .....", " .......", " .........", diff --git a/xfwm4/top-right-inactive.xpm b/xfwm4/top-right-inactive.xpm index b9deb81..99c4758 100644 --- a/xfwm4/top-right-inactive.xpm +++ b/xfwm4/top-right-inactive.xpm @@ -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", "..... ", "....... ", "......... ",