summaryrefslogtreecommitdiffhomepage
path: root/icons
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-10-12 15:32:11 +0100
committerjao <jao@gnu.org>2019-10-12 15:32:11 +0100
commitd2649ca14cc017cab356d14a37dd0f003051db28 (patch)
tree7d97c368e45d9d66561f731becbc7eb5012f1d00 /icons
parent52f3c27e9e7ff066589fb5b83f073e184c0af5f0 (diff)
downloadxmobar-config-d2649ca14cc017cab356d14a37dd0f003051db28.tar.gz
xmobar-config-d2649ca14cc017cab356d14a37dd0f003051db28.tar.bz2
dark/light icons
Diffstat (limited to 'icons')
-rw-r--r--icons/dark/load_0.xpm31
-rw-r--r--icons/dark/load_1.xpm31
-rw-r--r--icons/dark/load_2.xpm31
-rw-r--r--icons/dark/load_3.xpm31
-rw-r--r--icons/dark/load_4.xpm31
-rw-r--r--icons/dark/load_5.xpm31
-rw-r--r--icons/dark/load_6.xpm31
-rw-r--r--icons/dark/load_7.xpm31
-rw-r--r--icons/dark/load_8.xpm31
-rwxr-xr-xicons/gen-load-icons.sh20
-rw-r--r--icons/light/load_0.xpm30
-rw-r--r--icons/light/load_1.xpm30
-rw-r--r--icons/light/load_2.xpm30
-rw-r--r--icons/light/load_3.xpm30
-rw-r--r--icons/light/load_4.xpm30
-rw-r--r--icons/light/load_5.xpm30
-rw-r--r--icons/light/load_6.xpm30
-rw-r--r--icons/light/load_7.xpm30
-rw-r--r--icons/light/load_8.xpm30
-rw-r--r--icons/load_0.xpm24
-rw-r--r--icons/load_1.xpm24
-rw-r--r--icons/load_2.xpm24
-rw-r--r--icons/load_3.xpm24
-rw-r--r--icons/load_4.xpm24
-rw-r--r--icons/load_5.xpm24
-rw-r--r--icons/load_6.xpm24
-rw-r--r--icons/load_7.xpm24
-rw-r--r--icons/load_8.xpm24
28 files changed, 561 insertions, 224 deletions
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",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####",
-"#####"
-};