Run more stuff in parallel. Run dependent utilities in sequence.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 13 Aug 2015 21:58:45 +0300
changeset 746 5dfc65f89cf0
parent 745 65070eb4aabb
child 747 8acd115359ee
Run more stuff in parallel. Run dependent utilities in sequence.
.xinitrc
--- a/.xinitrc	Tue Aug 11 16:27:42 2015 +0300
+++ b/.xinitrc	Thu Aug 13 21:58:45 2015 +0300
@@ -15,12 +15,11 @@
 
 # Under Cygwin I prefer '-multiwindow' option, so it needn't to setup WM.
 if [[ -z $COMSPEC ]]; then
-  setxkbmap us,ru,ua
-  kbdd &
+  { setxkbmap us,ru,ua && kbdd } &
   if [[ -f ~/.xmodmaprc ]]; then
-    xmodmap ~/.xmodmaprc
+    xmodmap ~/.xmodmaprc &
   fi
-  xsetroot -mod 2 2 -fg gray70 -bg gray60
+  xsetroot -mod 2 2 -fg gray70 -bg gray60 &
   # To debug FvwmM4 add "-debug" after "FvwmM4".
   fvwm -cmd "Module FvwmM4 -m4-prefix -m4-prefix-defines $HOME/.fvwm/config" &
   emacs --name emacs-main &