summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-12-17 18:37:47 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-12-17 18:37:47 +0100
commitee96831c8b9ec7c5a77466f888e792d0f43103d5 (patch)
tree43f0bcaf63e88ec3f9e15e49e65af61c4cf7e8a3 /i3
parent77cd142cbfceda8d4fe644acff46b7f8a3463e9e (diff)
[vim] Add mapping to cycle quickfix more easily
Diffstat (limited to 'i3')
-rwxr-xr-xi3/.config/i3blocks/bin/updates4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates
index 4385305..41c34dc 100755
--- a/i3/.config/i3blocks/bin/updates
+++ b/i3/.config/i3blocks/bin/updates
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
-if command -v pacman -Qu > /dev/null; then
- n_updates=$(pacman -Qu | wc -l)
+if command -v checkupdates > /dev/null; then
+ n_updates=$(checkupdates | wc -l)
if [[ n_updates -gt 150 ]]; then
color='red'
elif [[ n_updates -gt 50 ]]; then