|
|
|
@ -2,14 +2,12 @@
@@ -2,14 +2,12 @@
|
|
|
|
|
setxkbmap -option 'grp:alt_shift_toggle' -option 'caps:swapescape' 'dvorak,ru' |
|
|
|
|
|
|
|
|
|
while true; do |
|
|
|
|
XROOTNAME=$(cat <<-END |
|
|
|
|
RAM: $(free -m | grep '^Mem' | awk '{print $3"MB"}') | |
|
|
|
|
CPU: $(mpstat | awk '$12 ~ /[0-9.]+/ { print 100 - $12"%" }') | |
|
|
|
|
$( date +"%F %R" ) |
|
|
|
|
END |
|
|
|
|
) |
|
|
|
|
xsetroot -name "$XROOTNAME" |
|
|
|
|
sleep 20s |
|
|
|
|
XROOTNAME="RAM: $(free -m | grep '^Mem' | awk '{print $3"MB"}') |" |
|
|
|
|
XROOTNAME="$XROOTNAME CPU: $(mpstat | awk '$13 ~ /[0-9.]+/ { print 100 - $13"%" }') |" |
|
|
|
|
XROOTNAME="$XROOTNAME $(date +"%F %R")" |
|
|
|
|
xsetroot -name "$XROOTNAME" |
|
|
|
|
|
|
|
|
|
sleep 20s |
|
|
|
|
done & |
|
|
|
|
|
|
|
|
|
# Set wallpaper |
|
|
|
|