From a635da67ae56aecba24c9b8045bedbee90a4dab1 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 8 Apr 2009 14:45:41 -0700 Subject: [PATCH] * bin/updates-available: print one ! for updates, two !! for security updates available (should have a unit for each item) * profiles/profile.skel: updates-available and reboot-required should be over with the rest of the status -- Dustin Kirkland Wed, 08 Apr 2009 14:43:23 -0700 --- bin/updates-available | 2 +- debian/changelog | 7 +++++-- profiles/profile.skel | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/updates-available b/bin/updates-available index bcf91d94..3cec0684 100755 --- a/bin/updates-available +++ b/bin/updates-available @@ -25,7 +25,7 @@ print_updates() { s=$2 if [ -n "$u" ]; then if [ "$u" -gt 0 ]; then - printf "\005{=b rW}%d" "$u" + printf "\005{=b rW}%d!" "$u" if [ -n "$s" ]; then if [ "$s" -gt 0 ]; then printf "!" diff --git a/debian/changelog b/debian/changelog index 22920ff6..72adbdbb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ screen-profiles (1.44) unreleased; urgency=low - * UNRELEASED + * bin/updates-available: print one ! for updates, two !! for security + updates available (should have a unit for each item) + * profiles/profile.skel: updates-available and reboot-required should + be over with the rest of the status - -- Dustin Kirkland Wed, 08 Apr 2009 13:21:39 -0700 + -- Dustin Kirkland Wed, 08 Apr 2009 14:43:23 -0700 screen-profiles (1.43-0ubuntu1) jaunty; urgency=low diff --git a/profiles/profile.skel b/profiles/profile.skel index 1695e4c1..d87979c4 100644 --- a/profiles/profile.skel +++ b/profiles/profile.skel @@ -26,7 +26,7 @@ source /usr/share/screen-profiles/profiles/common caption always "%{kW}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%? %= %{= Wk}%110`%109`%111`" # Status string, last line -hardstatus string '%99`%{= Wk} %100`%112`%102`%101`%= %114`%115`%108`%113`%119`%117`%118`%116`%106`%104`%103`%105`%107`%Y-%m-%d %0c:%s' +hardstatus string '%99`%{= Wk} %100`%112`%= %101`%102`%114`%115`%108`%113`%119`%117`%118`%116`%106`%104`%103`%105`%107`%Y-%m-%d %0c:%s' # NOTE: Older version of screen have an arbitrary limit of only being able # to change colors 16 times in this 'hardstatus string'.