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.
 

19 lines
494 B

# Set keyboard layout
setxkbmap -option 'grp:alt_shift_toggle' -option 'caps:swapescape' 'dvorak,ru'
while true; do
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
xsetroot -solid gray
feh --bg-scale ./.fehbg/wallpaper.png
# Start window manager
picom &
exec dwm