From 226d9359878469f81c635de525e5d8722bb16e0e Mon Sep 17 00:00:00 2001
From: Joe <rrbo@proton.me>
Date: Mon, 6 Feb 2023 15:24:19 +0100
Subject: up

---
 .config/tint2/tint2rc   |  4 ++--
 .local/bin/conky/net.sh | 19 ++-----------------
 .local/bin/tmp_os.sh    | 13 +++++++++++++
 3 files changed, 17 insertions(+), 19 deletions(-)
 create mode 100755 .local/bin/tmp_os.sh

diff --git a/.config/tint2/tint2rc b/.config/tint2/tint2rc
index fd2277e..71a9476 100755
--- a/.config/tint2/tint2rc
+++ b/.config/tint2/tint2rc
@@ -1,4 +1,4 @@
-#---- Generated by tint2conf ade1 ----
+#---- Generated by tint2conf c5f3 ----
 # See https://gitlab.com/o9000/tint2/wikis/Configure for 
 # full documentation of the configuration options.
 #-------------------------------------
@@ -196,7 +196,7 @@ task_thumbnail = 1
 task_thumbnail_size = 210
 task_font_color = #eeeeee 100
 task_active_font_color = #ffffff 100
-task_iconified_font_color = #ffffff 65
+task_iconified_font_color = #ffffff 64
 task_icon_asb = 100 0 -15
 task_active_icon_asb = 100 0 0
 task_iconified_icon_asb = 70 -50 -50
diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh
index 528e4a6..ab9b543 100755
--- a/.local/bin/conky/net.sh
+++ b/.local/bin/conky/net.sh
@@ -1,21 +1,6 @@
 #!/bin/sh
 
-os="$(uname)"
-tmpfile="/tmp/os"
-
-if [ -e "/tmp/os" ]; then
-	os=$(cat $tmpfile)
-else
-	if [ "$os" = "Linux" ]; then
-		grep "Artix" /etc/issue >/dev/null 2>&1 && os=1 || os=2
-	elif [ "$os" = "FreeBSD" ]; then
-		os=3
-	else
-		echo "unknown OS"
-		exit 1
-	fi
-	echo $os >$tmpfile
-fi
+os=$(cat "/tmp/os")
 
 case $os in
 	1)
@@ -47,7 +32,7 @@ ${color #928374}LAN IP: ${font1}${color #ebdbb2}${addr '$if_main'}${font}
 ${color #928374}DNS IP: ${font1}${color #ebdbb2}${nameserver 0}${font}
 ${color #928374}WAN IP: ${color #ebdbb2}${font1}${execi 300 curl -s https://ifconfig.me || echo No WAN}${font}
 ${hr}
-${color #928374}Speed: ${font1}down: ${color #ebdbb2}${font1}${downspeed '$if_main'} ${color grey}- up: ${color #ebdbb2}${font1}${upspeed '$if_main'}${font}
+${color #928374}Speed: ${font1}down: ${color #ebdbb2}${font1}${downspeed '$if_main'} ${color #928374}- up: ${color #ebdbb2}${font1}${upspeed '$if_main'}${font}
 ${color #928374}Down: ${color #ebdbb2}${downspeedgraph '$if_main' bfbfbf c0c0c0  125829120}
 ${color #928374}Up:   ${color #ebdbb2}${upspeedgraph   '$if_main' bfbfbf c0c0c0  125829120}
 ${hr}'
diff --git a/.local/bin/tmp_os.sh b/.local/bin/tmp_os.sh
new file mode 100755
index 0000000..e0fa13f
--- /dev/null
+++ b/.local/bin/tmp_os.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+os="$(uname)"
+
+if [ "$os" = "Linux" ]; then
+	grep "Artix" /etc/issue >/dev/null 2>&1 && os=1 || os=2
+elif [ "$os" = "FreeBSD" ]; then
+	os=3
+else
+	echo "unknown OS"
+	exit 1
+fi
+echo $os >$tmpfile
-- 
cgit v1.2.3