summaryrefslogtreecommitdiff
path: root/base/conkyrc-json
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2022-04-01 20:06:45 -0700
committerJesse Morgan <jesse@jesterpm.net>2022-04-01 20:06:45 -0700
commit9f825a1b7a848c9c8d0bf11de50fa850022483a7 (patch)
tree14c6b808b3ab06630450fc2b485d69b3d57d1e26 /base/conkyrc-json
parent613bca4812f2c9c6f338d478c676e9f307b25f48 (diff)
Commit accured changed
Diffstat (limited to 'base/conkyrc-json')
-rw-r--r--base/conkyrc-json17
1 files changed, 7 insertions, 10 deletions
diff --git a/base/conkyrc-json b/base/conkyrc-json
index 5ef86e5..537f274 100644
--- a/base/conkyrc-json
+++ b/base/conkyrc-json
@@ -4,6 +4,7 @@ out_to_console yes
background no
max_text_width 0
use_spacer left
+if_up_strictness address
update_interval 2.0
cpu_avg_samples 2
@@ -11,11 +12,9 @@ net_avg_samples 2
TEXT
[
-${if_xmms2_connected}
-${if_match "${xmms2_status}" == "Playing"}
-{ "full_text":"${xmms2_smart}" },
-${endif}
-${endif}
+
+{ "full_text": "${addr wlp58s0}",
+ "color": ${if_up (wlp58s0)}"\#ff0000"${else}"\#00ff00"${endif} },
{ "full_text": "✉ ${new_mails $HOME/.maildir/INBOX/}/${mails $HOME/.maildir/INBOX}",
"color": ${if_match ${new_mails $HOME/.maildir/INBOX/}>0}"\#00ff00"${else}"\#ffffff"${endif} },
@@ -26,15 +25,13 @@ ${endif}
{ "full_text":"RAM ${memperc}%",
"color":${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} },
-{ "full_text":"BATT ${battery BAT0}" },
-
-{ "full_text":"${execi 300 weatherbar.sh}" },
+{ "full_text":"🔋 ${battery BAT0}" },
{ "full_text":"${loadavg 1}" },
-{ "full_text":"♪ ${exec pactl list sinks | awk '/Volume: 0:/ {print substr($3, 1, index($3, "%") - 1)}'|head -n 1}" },
+{ "full_text":"♪ ${exec amixer get Master | awk '/Mono/ {print substr($4, 2, index($4, "%") - 1)}'|tail -n 1}" },
-{ "full_text":"${time %a %d %b %Y} ${time %H:%M:%S} ${utime %H:%M}",
+{ "full_text":"${time %a %d %b %Y} ${time %H:%M:%S} ${utime %H:%M}Z",
"short_text":"${time %H:%M:%S}" }
],