(General)~some minor changes for supporting the desktop

These changes are mostly surface level.
This commit is contained in:
2021-07-10 21:24:44 +01:00
parent ac9b93240c
commit 0eb0748f05
3 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
feh --bg-scale --randomize $HOME/Pictures/Backgrounds;
feh --bg-fill --randomize $HOME/Pictures/Backgrounds;

View File

@@ -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%"

View File

@@ -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)'"