summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-14 04:39:14 +0100
committerjao <jao@gnu.org>2022-08-14 04:40:09 +0100
commitb4a393816356df8a38a1198a4fd65537f6bb3569 (patch)
tree5a585a40e410af9c3946ec254b5aae8c90acfbd8
parent17ec956a0bc3ab9a42c728dfd56a813138eff4e9 (diff)
downloadxmobar-config-b4a393816356df8a38a1198a4fd65537f6bb3569.tar.gz
xmobar-config-b4a393816356df8a38a1198a4fd65537f6bb3569.tar.bz2
load icons (and other minor) tweaks
-rw-r--r--icons/light/load_0.xpm2
-rw-r--r--icons/light/load_1.xpm2
-rw-r--r--icons/light/load_2.xpm2
-rw-r--r--icons/light/load_3.xpm2
-rw-r--r--icons/light/load_4.xpm2
-rw-r--r--icons/light/load_5.xpm2
-rw-r--r--icons/light/load_6.xpm2
-rw-r--r--icons/light/load_7.xpm2
-rw-r--r--icons/light/load_8.xpm4
-rw-r--r--lib/Monitors.hs2
-rw-r--r--src/Single.hs3
11 files changed, 12 insertions, 13 deletions
diff --git a/icons/light/load_0.xpm b/icons/light/load_0.xpm
index e2a5a9a..54252a5 100644
--- a/icons/light/load_0.xpm
+++ b/icons/light/load_0.xpm
@@ -1,7 +1,7 @@
/* XPM */
static char *load_0[] = {
"8 24 3 1",
-"# c #999999",
+"# c #cccccc",
" c white",
"! c gray94",
"!!!!!!!!",
diff --git a/icons/light/load_1.xpm b/icons/light/load_1.xpm
index 4516093..a3d9094 100644
--- a/icons/light/load_1.xpm
+++ b/icons/light/load_1.xpm
@@ -1,7 +1,7 @@
/* XPM */
static char *load_1[] = {
"8 24 3 1",
-"# c #999999",
+"# c #cccccc",
" c white",
"! c gray94",
"!!!!!!!!",
diff --git a/icons/light/load_2.xpm b/icons/light/load_2.xpm
index 6e3dc44..6969121 100644
--- a/icons/light/load_2.xpm
+++ b/icons/light/load_2.xpm
@@ -3,7 +3,7 @@ static char *load_2[] = {
"8 24 3 1",
"! c gray94",
" c white",
-"# c #999999",
+"# c #cccccc",
"!!!!!!!!",
"!!!!!!!!",
"!!!!!!!!",
diff --git a/icons/light/load_3.xpm b/icons/light/load_3.xpm
index faa17c7..a1eded8 100644
--- a/icons/light/load_3.xpm
+++ b/icons/light/load_3.xpm
@@ -2,7 +2,7 @@
static char *load_3[] = {
"8 24 3 1",
" c white",
-"# c #999999",
+"# c #cccccc",
"! c gray94",
"!!!!!!!!",
"!!!!!!!!",
diff --git a/icons/light/load_4.xpm b/icons/light/load_4.xpm
index 82aa896..bb9d0ea 100644
--- a/icons/light/load_4.xpm
+++ b/icons/light/load_4.xpm
@@ -2,7 +2,7 @@
static char *load_4[] = {
"8 24 3 1",
" c white",
-"# c #999999",
+"# c #cccccc",
"! c gray94",
"!!!!!!!!",
"!!!!!!!!",
diff --git a/icons/light/load_5.xpm b/icons/light/load_5.xpm
index 7bec2b9..2bafbae 100644
--- a/icons/light/load_5.xpm
+++ b/icons/light/load_5.xpm
@@ -1,7 +1,7 @@
/* XPM */
static char *load_5[] = {
"8 24 3 1",
-"# c #999999",
+"# c #cccccc",
" c white",
"! c gray94",
"!!!!!!!!",
diff --git a/icons/light/load_6.xpm b/icons/light/load_6.xpm
index 58aa4d4..a1b58e7 100644
--- a/icons/light/load_6.xpm
+++ b/icons/light/load_6.xpm
@@ -2,7 +2,7 @@
static char *load_6[] = {
"8 24 3 1",
"! c gray94",
-"# c #999999",
+"# c #cccccc",
" c white",
"!!!!!!!!",
"!!!!!!!!",
diff --git a/icons/light/load_7.xpm b/icons/light/load_7.xpm
index 301301a..00b4db1 100644
--- a/icons/light/load_7.xpm
+++ b/icons/light/load_7.xpm
@@ -2,7 +2,7 @@
static char *load_7[] = {
"8 24 3 1",
"! c gray94",
-"# c #999999",
+"# c #cccccc",
" c white",
"!!!!!!!!",
"!!!!!!!!",
diff --git a/icons/light/load_8.xpm b/icons/light/load_8.xpm
index 0841fd4..41d58c9 100644
--- a/icons/light/load_8.xpm
+++ b/icons/light/load_8.xpm
@@ -2,11 +2,11 @@
static char *load_8[] = {
"8 24 3 1",
"! c gray94",
-"# c #999999",
+"# c #bbbbbb",
" c white",
"!!!!!!!!",
"!!!!!!!!",
-"########",
+"!!!!!!!!",
"########",
"########",
"########",
diff --git a/lib/Monitors.hs b/lib/Monitors.hs
index e617697..56cf308 100644
--- a/lib/Monitors.hs
+++ b/lib/Monitors.hs
@@ -145,7 +145,7 @@ iconBatt p =
, "-P"
, "-a", "notify-send -u critical 'Battery running out!!!!!!'"
, "-A", "5"
- , "-i", fni "\xf1e6"
+ , "-i", fni "\xf011"
, "-O", fni "<leftbar> \xf1e6" ++ " <left> <watts> <timeleft>"
, "-o", fni "<leftbar>" ++ " <left> <watts> <timeleft>"
, "-H", "10", "-L", "7"
diff --git a/src/Single.hs b/src/Single.hs
index 27179ef..44dd6f7 100644
--- a/src/Single.hs
+++ b/src/Single.hs
@@ -23,8 +23,7 @@ master on off p = Volume "default" "Master" (args ++ ("--":ext)) 10
config p = (baseConfig p) {
position = TopSize C 100 (defaultHeight - 2)
, textOffset = offset
- , textOffsets = [offset - 1, offset - 1, offset + 2
- , offset, offset + 1, offset, offset]
+ , textOffsets = [offset - 1, offset - 1, offset + 2 , offset, offset + 1]
, bgColor = if pIsLight p then "gray94" else "black"
, alpha = 255
, border = FullB