.xinitrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Apr 2012 13:07:00 +0300
changeset 442 a4d4a004bca7
parent 441 ee26e88369c2
child 449 63fe7a1ebae4
permissions -rw-r--r--
Move xsetroot back to '.xinitrc'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
281
754e4ee92fc0 Switch to bash interpreter to get more advanced string matching functions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 123
diff changeset
     1
#!/bin/bash
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
282
3710f0a122cd Load PATH settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 281
diff changeset
     3
if [[ -f ~/.bash_path ]]; then
3710f0a122cd Load PATH settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 281
diff changeset
     4
  . ~/.bash_path
3710f0a122cd Load PATH settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 281
diff changeset
     5
fi
3710f0a122cd Load PATH settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 281
diff changeset
     6
288
a489262dc345 Wait for 'xrdb' complete.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 282
diff changeset
     7
xrdb -merge ~/.Xdefaults
a489262dc345 Wait for 'xrdb' complete.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 282
diff changeset
     8
# xrdb -load ~/.Xdefaults
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
438
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 340
diff changeset
    10
# Under Cygwin I prefer '-multiwindow' option, so it needn't to setup WM.
289
914736b32f8a Use Bash syntax for string 'test'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 288
diff changeset
    11
if [[ -z $COMSPEC ]]; then
438
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 340
diff changeset
    12
  xmodmap ~/.xmodmaprc
442
a4d4a004bca7 Move xsetroot back to '.xinitrc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 441
diff changeset
    13
  xsetroot -gray
56
47272014a49a Don't use fvwm under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 38
diff changeset
    14
  fvwm &
47272014a49a Don't use fvwm under Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 38
diff changeset
    15
fi
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
# Last command.
310
3f53690ce833 Make xterm size larger to easy work with aptitude.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 289
diff changeset
    18
exec xterm -geometry 80x42 -e bash -i
438
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 340
diff changeset
    19