summaryrefslogtreecommitdiff
path: root/i3/.config/i3blocks
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-03-14 17:59:23 +0000
committerUrbain Vaes <urbain@vaes.uk>2018-03-14 17:59:23 +0000
commitd161d11682989d18f5ec994428028afae4a122d7 (patch)
tree2f49466ab324ed29c28ec1195cf7d1eba99f724a /i3/.config/i3blocks
parentd6513818eecaf8e3dc9a2e62ba939eb0b35651bc (diff)
Minor modifications
Diffstat (limited to 'i3/.config/i3blocks')
-rwxr-xr-xi3/.config/i3blocks/bin/updates4
-rw-r--r--i3/.config/i3blocks/config4
2 files changed, 4 insertions, 4 deletions
diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates
index 325b485..41c34dc 100755
--- a/i3/.config/i3blocks/bin/updates
+++ b/i3/.config/i3blocks/bin/updates
@@ -2,9 +2,9 @@
if command -v checkupdates > /dev/null; then
n_updates=$(checkupdates | wc -l)
- if [[ n_updates -gt 50 ]]; then
+ if [[ n_updates -gt 150 ]]; then
color='red'
- elif [[ n_updates -gt 10 ]]; then
+ elif [[ n_updates -gt 50 ]]; then
color='yellow'
else
color='gray'
diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config
index 1d390cb..93850ee 100644
--- a/i3/.config/i3blocks/config
+++ b/i3/.config/i3blocks/config
@@ -74,13 +74,13 @@ interval=30
label=<span color='gray'></span>
command=/usr/lib/i3blocks/disk
instance=/home/urbain
-interval=60
+interval=300
[diskroot]
label=<span color='gray'></span>
command=/usr/lib/i3blocks/disk
instance=/
-interval=60
+interval=300
[date]
label=<span color='gray'></span>