From d2649ca14cc017cab356d14a37dd0f003051db28 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 12 Oct 2019 15:32:11 +0100 Subject: dark/light icons --- icons/dark/load_0.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_1.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_2.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_3.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_4.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_5.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_6.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_7.xpm | 31 +++++++++++++++++++++++++++++++ icons/dark/load_8.xpm | 31 +++++++++++++++++++++++++++++++ icons/gen-load-icons.sh | 20 ++++++++++++-------- icons/light/load_0.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_1.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_2.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_3.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_4.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_5.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_6.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_7.xpm | 30 ++++++++++++++++++++++++++++++ icons/light/load_8.xpm | 30 ++++++++++++++++++++++++++++++ icons/load_0.xpm | 24 ------------------------ icons/load_1.xpm | 24 ------------------------ icons/load_2.xpm | 24 ------------------------ icons/load_3.xpm | 24 ------------------------ icons/load_4.xpm | 24 ------------------------ icons/load_5.xpm | 24 ------------------------ icons/load_6.xpm | 24 ------------------------ icons/load_7.xpm | 24 ------------------------ icons/load_8.xpm | 24 ------------------------ 28 files changed, 561 insertions(+), 224 deletions(-) create mode 100644 icons/dark/load_0.xpm create mode 100644 icons/dark/load_1.xpm create mode 100644 icons/dark/load_2.xpm create mode 100644 icons/dark/load_3.xpm create mode 100644 icons/dark/load_4.xpm create mode 100644 icons/dark/load_5.xpm create mode 100644 icons/dark/load_6.xpm create mode 100644 icons/dark/load_7.xpm create mode 100644 icons/dark/load_8.xpm create mode 100644 icons/light/load_0.xpm create mode 100644 icons/light/load_1.xpm create mode 100644 icons/light/load_2.xpm create mode 100644 icons/light/load_3.xpm create mode 100644 icons/light/load_4.xpm create mode 100644 icons/light/load_5.xpm create mode 100644 icons/light/load_6.xpm create mode 100644 icons/light/load_7.xpm create mode 100644 icons/light/load_8.xpm delete mode 100644 icons/load_0.xpm delete mode 100644 icons/load_1.xpm delete mode 100644 icons/load_2.xpm delete mode 100644 icons/load_3.xpm delete mode 100644 icons/load_4.xpm delete mode 100644 icons/load_5.xpm delete mode 100644 icons/load_6.xpm delete mode 100644 icons/load_7.xpm delete mode 100644 icons/load_8.xpm (limited to 'icons') diff --git a/icons/dark/load_0.xpm b/icons/dark/load_0.xpm new file mode 100644 index 0000000..465e3c4 --- /dev/null +++ b/icons/dark/load_0.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_0[] = { +"8 24 3 1", +"! c black", +" c white", +"# c grey40", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_1.xpm b/icons/dark/load_1.xpm new file mode 100644 index 0000000..cddc00e --- /dev/null +++ b/icons/dark/load_1.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_1[] = { +"8 24 3 1", +"! c black", +" c white", +"# c grey40", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_2.xpm b/icons/dark/load_2.xpm new file mode 100644 index 0000000..c724251 --- /dev/null +++ b/icons/dark/load_2.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_2[] = { +"8 24 3 1", +"# c grey40", +" c white", +"! c black", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_3.xpm b/icons/dark/load_3.xpm new file mode 100644 index 0000000..ee9cf40 --- /dev/null +++ b/icons/dark/load_3.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_3[] = { +"8 24 3 1", +"! c black", +" c white", +"# c grey40", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_4.xpm b/icons/dark/load_4.xpm new file mode 100644 index 0000000..e840ce0 --- /dev/null +++ b/icons/dark/load_4.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_4[] = { +"8 24 3 1", +"! c black", +"# c grey40", +" c white", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_5.xpm b/icons/dark/load_5.xpm new file mode 100644 index 0000000..1bb6bdb --- /dev/null +++ b/icons/dark/load_5.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_5[] = { +"8 24 3 1", +"! c black", +" c white", +"# c grey40", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_6.xpm b/icons/dark/load_6.xpm new file mode 100644 index 0000000..4263a69 --- /dev/null +++ b/icons/dark/load_6.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_6[] = { +"8 24 3 1", +"! c black", +"# c grey40", +" c white", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_7.xpm b/icons/dark/load_7.xpm new file mode 100644 index 0000000..f4ea130 --- /dev/null +++ b/icons/dark/load_7.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_7[] = { +"8 24 3 1", +"! c black", +"# c grey40", +" c white", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/dark/load_8.xpm b/icons/dark/load_8.xpm new file mode 100644 index 0000000..8d01413 --- /dev/null +++ b/icons/dark/load_8.xpm @@ -0,0 +1,31 @@ +/* XPM */ +static char *load_8[] = { +"8 24 3 1", +"! c black", +" c white", +"# c grey40", +"!!!!!!!!", +"!!!!!!!!", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"########", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!" +}; diff --git a/icons/gen-load-icons.sh b/icons/gen-load-icons.sh index 2ff765e..6b07de9 100755 --- a/icons/gen-load-icons.sh +++ b/icons/gen-load-icons.sh @@ -8,16 +8,19 @@ use Image::Xpm; use POSIX; my $iwidth = 8; -my $iheight = 16; -my $pixels_per = $iheight / 8; +my $iheight = 24; +my $pixels_per = 2; my $color_bg = "white"; -my $color_fg = "darkseagreen"; +# my $color_fg = "darkseagreen"; +my $color_fg = "grey90"; + +# $color_bg = "black"; +# $color_fg = "grey40"; for ( my $file_num = 0; $file_num <= 8; $file_num++ ) { - my $i = Image::Xpm->new(-file => "load_$file_num.xpm", - -width => $iwidth, - -height => $iheight, - -background => $color_bg); + my $fname = "load_$file_num.xpm"; + unlink $fname; + my $i = Image::Xpm->new(-file => $fname, -width => $iwidth, -height => $iheight); my $h = $file_num * $pixels_per; @@ -26,8 +29,9 @@ for ( my $file_num = 0; $file_num <= 8; $file_num++ ) { $i->xy($x, $y, $color_bg); } } + for ( my $x = 0; $x < $iwidth; $x++ ) { - for ( my $y = $iheight; $y >= ($iheight - $h); $y-- ) { + for ( my $y = ($iheight - 6); $y >= ($iheight - 6 - $h); $y-- ) { $i->xy($x, $y, $color_fg); } } diff --git a/icons/light/load_0.xpm b/icons/light/load_0.xpm new file mode 100644 index 0000000..5a875b8 --- /dev/null +++ b/icons/light/load_0.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_0[] = { +"8 24 2 1", +" c white", +"! c grey90", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_1.xpm b/icons/light/load_1.xpm new file mode 100644 index 0000000..86cb5a3 --- /dev/null +++ b/icons/light/load_1.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_1[] = { +"8 24 2 1", +"! c grey90", +" c white", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_2.xpm b/icons/light/load_2.xpm new file mode 100644 index 0000000..209f788 --- /dev/null +++ b/icons/light/load_2.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_2[] = { +"8 24 2 1", +"! c grey90", +" c white", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_3.xpm b/icons/light/load_3.xpm new file mode 100644 index 0000000..4de2c3d --- /dev/null +++ b/icons/light/load_3.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_3[] = { +"8 24 2 1", +"! c grey90", +" c white", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_4.xpm b/icons/light/load_4.xpm new file mode 100644 index 0000000..e58041f --- /dev/null +++ b/icons/light/load_4.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_4[] = { +"8 24 2 1", +"! c grey90", +" c white", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_5.xpm b/icons/light/load_5.xpm new file mode 100644 index 0000000..7e9b0ef --- /dev/null +++ b/icons/light/load_5.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_5[] = { +"8 24 2 1", +"! c grey90", +" c white", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_6.xpm b/icons/light/load_6.xpm new file mode 100644 index 0000000..ca03d64 --- /dev/null +++ b/icons/light/load_6.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_6[] = { +"8 24 2 1", +" c white", +"! c grey90", +" ", +" ", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_7.xpm b/icons/light/load_7.xpm new file mode 100644 index 0000000..8a58845 --- /dev/null +++ b/icons/light/load_7.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_7[] = { +"8 24 2 1", +"! c grey90", +" c white", +" ", +" ", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/light/load_8.xpm b/icons/light/load_8.xpm new file mode 100644 index 0000000..536c7f6 --- /dev/null +++ b/icons/light/load_8.xpm @@ -0,0 +1,30 @@ +/* XPM */ +static char *load_8[] = { +"8 24 2 1", +" c white", +"! c grey90", +" ", +" ", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +"!!!!!!!!", +" ", +" ", +" ", +" ", +" " +}; diff --git a/icons/load_0.xpm b/icons/load_0.xpm deleted file mode 100644 index 5c43f2c..0000000 --- a/icons/load_0.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_0[] = { -"5 16 4 1", -"# c darkseagreen", -"! c grey90", -"$ c grey96", -" c white", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" " -}; diff --git a/icons/load_1.xpm b/icons/load_1.xpm deleted file mode 100644 index d21d509..0000000 --- a/icons/load_1.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_1[] = { -"5 16 4 1", -" c white", -"$ c grey96", -"! c grey90", -"# c darkseagreen", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -"#####", -"#####" -}; diff --git a/icons/load_2.xpm b/icons/load_2.xpm deleted file mode 100644 index afceb6f..0000000 --- a/icons/load_2.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_2[] = { -"5 16 4 1", -"! c grey90", -"# c darkseagreen", -" c white", -"$ c grey96", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -"#####", -"#####", -"#####", -"#####" -}; diff --git a/icons/load_3.xpm b/icons/load_3.xpm deleted file mode 100644 index f88ef26..0000000 --- a/icons/load_3.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_3[] = { -"5 16 4 1", -" c white", -"$ c grey96", -"! c grey90", -"# c darkseagreen", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####" -}; diff --git a/icons/load_4.xpm b/icons/load_4.xpm deleted file mode 100644 index 6182dcf..0000000 --- a/icons/load_4.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_4[] = { -"5 16 4 1", -"! c grey90", -"# c darkseagreen", -"$ c grey96", -" c white", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####" -}; diff --git a/icons/load_5.xpm b/icons/load_5.xpm deleted file mode 100644 index 05b7f4a..0000000 --- a/icons/load_5.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_5[] = { -"5 16 4 1", -" c white", -"$ c grey96", -"! c grey90", -"# c darkseagreen", -" ", -" ", -" ", -" ", -" ", -" ", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####" -}; diff --git a/icons/load_6.xpm b/icons/load_6.xpm deleted file mode 100644 index 971a973..0000000 --- a/icons/load_6.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_6[] = { -"5 16 4 1", -" c white", -"$ c grey96", -"! c grey90", -"# c darkseagreen", -" ", -" ", -" ", -" ", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####" -}; diff --git a/icons/load_7.xpm b/icons/load_7.xpm deleted file mode 100644 index dac0754..0000000 --- a/icons/load_7.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_7[] = { -"5 16 4 1", -"! c grey90", -"# c darkseagreen", -" c white", -"$ c grey96", -" ", -" ", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####" -}; diff --git a/icons/load_8.xpm b/icons/load_8.xpm deleted file mode 100644 index 94843d4..0000000 --- a/icons/load_8.xpm +++ /dev/null @@ -1,24 +0,0 @@ -/* XPM */ -static char *load_8[] = { -"5 16 4 1", -"! c grey90", -"# c darkseagreen", -"$ c grey96", -" c white", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####", -"#####" -}; -- cgit v1.2.3