Dotfiles config update (2022-02-28)

This commit is contained in:
q3aql 2022-02-28 21:23:57 +01:00
parent 10a2cd91f0
commit 06dd82a1f1
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ uptime=$(uptime | tr -s " " | cut -d "," -f 1)
uptime=$(echo ${uptime})
#shell="5.1.4" # Run bash --version
shell=$(bash --version | head -1 | tr -s " " | cut -d " " -f 4 | cut -d "(" -f 1 | cut -d "-" -f 1)
resolution=$(xrandr | grep "*" | head -1 | tr -s " " | cut -d " " -f 2)
resolution=$(xrandr 2> /dev/null | grep "*" | head -1 | tr -s " " | cut -d " " -f 2)
user_loaded=$(whoami)
home_user="${HOME}"
cpu_model=$(lscpu | grep "Model name:" | tr -s " " | cut -d ":" -f 2)

View File

@ -9,7 +9,7 @@ uptime=$(uptime | tr -s " " | cut -d "," -f 1)
uptime=$(echo ${uptime})
#shell="5.1.4" # Run bash --version
shell=$(bash --version | head -1 | tr -s " " | cut -d " " -f 4 | cut -d "(" -f 1 | cut -d "-" -f 1)
resolution=$(xrandr | grep "*" | head -1 | tr -s " " | cut -d " " -f 2)
resolution=$(xrandr 2> /dev/null | grep "*" | head -1 | tr -s " " | cut -d " " -f 2)
user_loaded=$(whoami)
home_user="${HOME}"
cpu_model=$(lscpu | grep "Model name:" | tr -s " " | cut -d ":" -f 2)