Browse Source

xprograms: sleep before run programs

pull/1/head
10sr 10 years ago
parent
commit
13e3838f48
2 changed files with 4 additions and 3 deletions
  1. +1
    -0
      xinitrc
  2. +3
    -3
      xprograms

+ 1
- 0
xinitrc View File

@@ -19,6 +19,7 @@ setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl"
xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt
#xmodmap -e 'remove Lock = Caps_Lock' #xmodmap -e 'remove Lock = Caps_Lock'
#xmodmap -e 'add Control = Caps_Lock' #xmodmap -e 'add Control = Caps_Lock'
#xmodmap -e 'keycode 134 = Pointer_Button3


type synclient >/dev/null 2>&1 && { type synclient >/dev/null 2>&1 && {
synclient MaxSpeed=1.6 synclient MaxSpeed=1.6


+ 3
- 3
xprograms View File

@@ -10,7 +10,7 @@ _feh(){


_tint2(){ _tint2(){
#tint2 -c ~/.dotfiles/tint2rc & #tint2 -c ~/.dotfiles/tint2rc &
tint2 &
(sleep 1s && tint2) &
} }


_dropbox(){ _dropbox(){
@@ -18,7 +18,7 @@ _dropbox(){
} }


_volumeicon(){ _volumeicon(){
volumeicon &
(sleep 1s && volumeicon) &
} }


_gsoundap(){ _gsoundap(){
@@ -57,7 +57,7 @@ _gkeyring(){
} }


_nmapplet(){ _nmapplet(){
nm-applet &
(sleep 1s && nm-applet) &
} }


for p in $@ for p in $@


Loading…
Cancel
Save