You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
459 B

# Set keyboard layout
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
done &
# Set wallpaper
xsetroot -solid gray
feh --bg-scale ./.fehbg/wallpaper.png
# Start window manager
picom &
exec dwm