From 9e2888f33f07111f397b5af16a16f9e37552449f Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 21 May 2018 15:09:02 +0100 Subject: [PATCH 1/2] Add -t option to ssh command for home server updates --- i3/blocks/homeServerUpdates | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/i3/blocks/homeServerUpdates b/i3/blocks/homeServerUpdates index c6c779ef..b057289c 100755 --- a/i3/blocks/homeServerUpdates +++ b/i3/blocks/homeServerUpdates @@ -1,13 +1,14 @@ #!/usr/bin/sh -count=$(ssh homeServer checkupdates | wc -l) +count=$(ssh homeServer -t checkupdates | wc -l) if [ "$count" = "0" ]; then - count="" -fi -echo $count -echo $count -if [ "$count" -gt "5" ]; then - echo "#FFOOOO" + echo "" else - echo "#FF8000" + echo $count + echo $count + if [ "$count" -gt "5" ]; then + echo "#FFOOOO" + else + echo "#FF8000" + fi fi From 15a7b814faadb5eeb6400f965ea20e24ce176626 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 21 May 2018 15:09:44 +0100 Subject: [PATCH 2/2] Stop conky running --- x/xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/xinitrc b/x/xinitrc index eec30d82..539aa802 100644 --- a/x/xinitrc +++ b/x/xinitrc @@ -8,4 +8,4 @@ dbus-update-activation-environment --systemd DISPLAY #exec xrdb .Xresources xbindkeys exec i3 -V >> ~/i3log-$(date + '%F-%k-%M-%S') 2>&1 -exec sh /home/jonathan/.conky/conky-startup.sh +#exec sh /home/jonathan/.conky/conky-startup.sh