diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-06-04 13:49:01 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-06-04 13:49:01 +0100 |
commit | 534288bcb1785db877d3ead09229ea8dd149fb5b (patch) | |
tree | a909584143a796dbfd24523c72db29e69005ee14 | |
parent | b4013397618a45a637f759f466eff7baf9100736 (diff) |
Use 'pacman -Qu' instead of checkupdates
-rw-r--r-- | guix/.guix-env | 4 | ||||
-rwxr-xr-x | 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' |