diff options
-rwxr-xr-x | Scripts/.local/scripts/background | 2 | ||||
-rwxr-xr-x | Scripts/.local/scripts/status/memory | 3 | ||||
-rw-r--r-- | Shell/.zshrc | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/Scripts/.local/scripts/background b/Scripts/.local/scripts/background index 8a64d0f..6ee6455 100755 --- a/Scripts/.local/scripts/background +++ b/Scripts/.local/scripts/background @@ -1,3 +1,3 @@ #!/bin/bash -feh --bg-scale --randomize $HOME/Pictures/Backgrounds; +feh --bg-fill --randomize $HOME/Pictures/Backgrounds; diff --git a/Scripts/.local/scripts/status/memory b/Scripts/.local/scripts/status/memory index 042596d..ecdfc0e 100755 --- a/Scripts/.local/scripts/status/memory +++ b/Scripts/.local/scripts/status/memory @@ -3,4 +3,5 @@ line=$(free -m | sed -n 2p); used=$(echo $line | awk '{print $3}'); available=$(echo $line | awk '{print $2}'); -echo "" $(printf "%dMB" $used) $(echo "100 * $used / $available" | bc -l | xargs printf "%.2f" $1) +value=$(echo "100 * $used / $available" | bc -l | xargs printf "%.2f" $1) +echo " $(printf "%dMB" $used) $value%" diff --git a/Shell/.zshrc b/Shell/.zshrc index 0c0836f..8d17113 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -29,6 +29,7 @@ ef () { ### Git aliases alias gs="git status" +alias gd="git diff" alias gc="git commit" alias gg="emacsclient -s MAIN -a emacs -c --eval '(magit)'" |