From 534288bcb1785db877d3ead09229ea8dd149fb5b Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 4 Jun 2018 13:49:01 +0100 Subject: Use 'pacman -Qu' instead of checkupdates --- guix/.guix-env | 4 ++-- i3/.config/i3blocks/bin/updates | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/guix/.guix-env b/guix/.guix-env index 5482c74..1a97ec8 100644 --- a/guix/.guix-env +++ b/guix/.guix-env @@ -5,7 +5,7 @@ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale export LC_ALL=en_US.utf8 # Paths -export PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH" +# export PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH" # export CPATH="/home/urbain/.guix-profile/include${CPATH:+:}$CPATH" # export LIBRARY_PATH="/home/urbain/.guix-profile/lib${LIBRARY_PATH:+:}$LIBRARY_PATH" @@ -25,6 +25,6 @@ export GUILE_WARN_DEPRECATED=detailed # export GIO_EXTRA_MODULES="/home/urbain/.guix-profile/lib/gio/modules${GIO_EXTRA_MODULES:+:}$GIO_EXTRA_MODULES" # Cmake -export CMAKE_PREFIX_PATH="/home/urbain/.guix-profile/${CMAKE_PREFIX_PATH:+:}$CMAKE_PREFIX_PATH" +# export CMAKE_PREFIX_PATH="/home/urbain/.guix-profile/${CMAKE_PREFIX_PATH:+:}$CMAKE_PREFIX_PATH" # vim: set ft=sh diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates index 41c34dc..bc57eac 100755 --- a/i3/.config/i3blocks/bin/updates +++ b/i3/.config/i3blocks/bin/updates @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if command -v checkupdates > /dev/null; then +if command -v pacman -Qu > /dev/null; then n_updates=$(checkupdates | wc -l) if [[ n_updates -gt 150 ]]; then color='red' -- cgit v1.2.3